home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2002-09-23 | 81.1 KB | [□□□□/□□□□] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Mon Sep 23 03:32:45 2002, modified Mon Sep 23 03:32:45 2002, 82447 bytes "aclocal.m4" , at 0x1428f 286 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
100%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| dearkID
| deark: macbinary
| default
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
| |
100%
| librempegprobeID
| NGC (Nintendo DSP Standard) (ngcdspstd)
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [□□□□] |
macFileCreator | [□□□□] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 61 63 6c 6f 63 61 | 6c 2e 6d 34 00 00 00 00 |..acloca|l.m4....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 01 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 42 0f 00 | 00 01 1e b9 b4 74 1d b9 |.....B..|.....t..|
|00000060| b4 74 1d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.t......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e1 ce 00 00 |........|........|
|00000080| 23 20 61 63 6c 6f 63 61 | 6c 2e 6d 34 20 67 65 6e |# acloca|l.m4 gen|
|00000090| 65 72 61 74 65 64 20 61 | 75 74 6f 6d 61 74 69 63 |erated a|utomatic|
|000000a0| 61 6c 6c 79 20 62 79 20 | 61 63 6c 6f 63 61 6c 20 |ally by |aclocal |
|000000b0| 31 2e 35 0a 0a 23 20 43 | 6f 70 79 72 69 67 68 74 |1.5..# C|opyright|
|000000c0| 20 31 39 39 36 2c 20 31 | 39 39 37 2c 20 31 39 39 | 1996, 1|997, 199|
|000000d0| 38 2c 20 31 39 39 39 2c | 20 32 30 30 30 2c 20 32 |8, 1999,| 2000, 2|
|000000e0| 30 30 31 0a 23 20 46 72 | 65 65 20 53 6f 66 74 77 |001.# Fr|ee Softw|
|000000f0| 61 72 65 20 46 6f 75 6e | 64 61 74 69 6f 6e 2c 20 |are Foun|dation, |
|00000100| 49 6e 63 2e 0a 23 20 54 | 68 69 73 20 66 69 6c 65 |Inc..# T|his file|
|00000110| 20 69 73 20 66 72 65 65 | 20 73 6f 66 74 77 61 72 | is free| softwar|
|00000120| 65 3b 20 74 68 65 20 46 | 72 65 65 20 53 6f 66 74 |e; the F|ree Soft|
|00000130| 77 61 72 65 20 46 6f 75 | 6e 64 61 74 69 6f 6e 0a |ware Fou|ndation.|
|00000140| 23 20 67 69 76 65 73 20 | 75 6e 6c 69 6d 69 74 65 |# gives |unlimite|
|00000150| 64 20 70 65 72 6d 69 73 | 73 69 6f 6e 20 74 6f 20 |d permis|sion to |
|00000160| 63 6f 70 79 20 61 6e 64 | 2f 6f 72 20 64 69 73 74 |copy and|/or dist|
|00000170| 72 69 62 75 74 65 20 69 | 74 2c 0a 23 20 77 69 74 |ribute i|t,.# wit|
|00000180| 68 20 6f 72 20 77 69 74 | 68 6f 75 74 20 6d 6f 64 |h or wit|hout mod|
|00000190| 69 66 69 63 61 74 69 6f | 6e 73 2c 20 61 73 20 6c |ificatio|ns, as l|
|000001a0| 6f 6e 67 20 61 73 20 74 | 68 69 73 20 6e 6f 74 69 |ong as t|his noti|
|000001b0| 63 65 20 69 73 20 70 72 | 65 73 65 72 76 65 64 2e |ce is pr|eserved.|
|000001c0| 0a 0a 23 20 54 68 69 73 | 20 70 72 6f 67 72 61 6d |..# This| program|
|000001d0| 20 69 73 20 64 69 73 74 | 72 69 62 75 74 65 64 20 | is dist|ributed |
|000001e0| 69 6e 20 74 68 65 20 68 | 6f 70 65 20 74 68 61 74 |in the h|ope that|
|000001f0| 20 69 74 20 77 69 6c 6c | 20 62 65 20 75 73 65 66 | it will| be usef|
|00000200| 75 6c 2c 0a 23 20 62 75 | 74 20 57 49 54 48 4f 55 |ul,.# bu|t WITHOU|
|00000210| 54 20 41 4e 59 20 57 41 | 52 52 41 4e 54 59 2c 20 |T ANY WA|RRANTY, |
|00000220| 74 6f 20 74 68 65 20 65 | 78 74 65 6e 74 20 70 65 |to the e|xtent pe|
|00000230| 72 6d 69 74 74 65 64 20 | 62 79 20 6c 61 77 3b 20 |rmitted |by law; |
|00000240| 77 69 74 68 6f 75 74 0a | 23 20 65 76 65 6e 20 74 |without.|# even t|
|00000250| 68 65 20 69 6d 70 6c 69 | 65 64 20 77 61 72 72 61 |he impli|ed warra|
|00000260| 6e 74 79 20 6f 66 20 4d | 45 52 43 48 41 4e 54 41 |nty of M|ERCHANTA|
|00000270| 42 49 4c 49 54 59 20 6f | 72 20 46 49 54 4e 45 53 |BILITY o|r FITNES|
|00000280| 53 20 46 4f 52 20 41 0a | 23 20 50 41 52 54 49 43 |S FOR A.|# PARTIC|
|00000290| 55 4c 41 52 20 50 55 52 | 50 4f 53 45 2e 0a 0a 23 |ULAR PUR|POSE...#|
|000002a0| 20 44 6f 20 61 6c 6c 20 | 74 68 65 20 77 6f 72 6b | Do all |the work|
|000002b0| 20 66 6f 72 20 41 75 74 | 6f 6d 61 6b 65 2e 20 20 | for Aut|omake. |
|000002c0| 54 68 69 73 20 6d 61 63 | 72 6f 20 61 63 74 75 61 |This mac|ro actua|
|000002d0| 6c 6c 79 20 64 6f 65 73 | 20 74 6f 6f 20 6d 75 63 |lly does| too muc|
|000002e0| 68 20 2d 2d 0a 23 20 73 | 6f 6d 65 20 63 68 65 63 |h --.# s|ome chec|
|000002f0| 6b 73 20 61 72 65 20 6f | 6e 6c 79 20 6e 65 65 64 |ks are o|nly need|
|00000300| 65 64 20 69 66 20 79 6f | 75 72 20 70 61 63 6b 61 |ed if yo|ur packa|
|00000310| 67 65 20 64 6f 65 73 20 | 63 65 72 74 61 69 6e 20 |ge does |certain |
|00000320| 74 68 69 6e 67 73 2e 0a | 23 20 42 75 74 20 74 68 |things..|# But th|
|00000330| 69 73 20 69 73 6e 27 74 | 20 72 65 61 6c 6c 79 20 |is isn't| really |
|00000340| 61 20 62 69 67 20 64 65 | 61 6c 2e 0a 0a 23 20 73 |a big de|al...# s|
|00000350| 65 72 69 61 6c 20 35 0a | 0a 23 20 54 68 65 72 65 |erial 5.|.# There|
|00000360| 20 61 72 65 20 61 20 66 | 65 77 20 64 69 72 74 79 | are a f|ew dirty|
|00000370| 20 68 61 63 6b 73 20 62 | 65 6c 6f 77 20 74 6f 20 | hacks b|elow to |
|00000380| 61 76 6f 69 64 20 6c 65 | 74 74 69 6e 67 20 60 41 |avoid le|tting `A|
|00000390| 43 5f 50 52 4f 47 5f 43 | 43 27 20 62 65 0a 23 20 |C_PROG_C|C' be.# |
|000003a0| 77 72 69 74 74 65 6e 20 | 69 6e 20 63 6c 65 61 72 |written |in clear|
|000003b0| 2c 20 69 6e 20 77 68 69 | 63 68 20 63 61 73 65 20 |, in whi|ch case |
|000003c0| 61 75 74 6f 6d 61 6b 65 | 2c 20 77 68 65 6e 20 72 |automake|, when r|
|000003d0| 65 61 64 69 6e 67 20 61 | 63 6c 6f 63 61 6c 2e 6d |eading a|clocal.m|
|000003e0| 34 2c 0a 23 20 77 69 6c | 6c 20 74 68 69 6e 6b 20 |4,.# wil|l think |
|000003f0| 69 74 20 73 65 65 73 20 | 61 20 2a 75 73 65 2a 2c |it sees |a *use*,|
|00000400| 20 61 6e 64 20 74 68 65 | 72 65 66 6f 72 65 20 77 | and the|refore w|
|00000410| 69 6c 6c 20 74 72 69 67 | 67 65 72 20 61 6c 6c 20 |ill trig|ger all |
|00000420| 69 74 27 73 0a 23 20 43 | 20 73 75 70 70 6f 72 74 |it's.# C| support|
|00000430| 20 6d 61 63 68 69 6e 65 | 72 79 2e 20 20 41 6c 73 | machine|ry. Als|
|00000440| 6f 20 6e 6f 74 65 20 74 | 68 61 74 20 69 74 20 6d |o note t|hat it m|
|00000450| 65 61 6e 73 20 74 68 61 | 74 20 61 75 74 6f 73 63 |eans tha|t autosc|
|00000460| 61 6e 2c 20 73 65 65 69 | 6e 67 0a 23 20 43 43 20 |an, seei|ng.# CC |
|00000470| 65 74 63 2e 20 69 6e 20 | 74 68 65 20 4d 61 6b 65 |etc. in |the Make|
|00000480| 66 69 6c 65 2c 20 77 69 | 6c 6c 20 61 73 6b 20 66 |file, wi|ll ask f|
|00000490| 6f 72 20 61 6e 20 41 43 | 5f 50 52 4f 47 5f 43 43 |or an AC|_PROG_CC|
|000004a0| 20 75 73 65 2e 2e 2e 0a | 0a 0a 23 20 57 65 20 72 | use....|..# We r|
|000004b0| 65 71 75 69 72 65 20 32 | 2e 31 33 20 62 65 63 61 |equire 2|.13 beca|
|000004c0| 75 73 65 20 77 65 20 72 | 65 6c 79 20 6f 6e 20 53 |use we r|ely on S|
|000004d0| 48 45 4c 4c 20 62 65 69 | 6e 67 20 63 6f 6d 70 75 |HELL bei|ng compu|
|000004e0| 74 65 64 20 62 79 20 63 | 6f 6e 66 69 67 75 72 65 |ted by c|onfigure|
|000004f0| 2e 0a 41 43 5f 50 52 45 | 52 45 51 28 5b 32 2e 31 |..AC_PRE|REQ([2.1|
|00000500| 33 5d 29 0a 0a 23 20 41 | 43 5f 50 52 4f 56 49 44 |3])..# A|C_PROVID|
|00000510| 45 5f 49 46 45 4c 53 45 | 28 4d 41 43 52 4f 2d 4e |E_IFELSE|(MACRO-N|
|00000520| 41 4d 45 2c 20 49 46 2d | 50 52 4f 56 49 44 45 44 |AME, IF-|PROVIDED|
|00000530| 2c 20 49 46 2d 4e 4f 54 | 2d 50 52 4f 56 49 44 45 |, IF-NOT|-PROVIDE|
|00000540| 44 29 0a 23 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |D).# ---|--------|
|00000550| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000560| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000570| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000580| 0a 23 20 49 66 20 4d 41 | 43 52 4f 2d 4e 41 4d 45 |.# If MA|CRO-NAME|
|00000590| 20 69 73 20 70 72 6f 76 | 69 64 65 64 20 64 6f 20 | is prov|ided do |
|000005a0| 49 46 2d 50 52 4f 56 49 | 44 45 44 2c 20 65 6c 73 |IF-PROVI|DED, els|
|000005b0| 65 20 49 46 2d 4e 4f 54 | 2d 50 52 4f 56 49 44 45 |e IF-NOT|-PROVIDE|
|000005c0| 44 2e 0a 23 20 54 68 65 | 20 70 75 72 70 6f 73 65 |D..# The| purpose|
|000005d0| 20 6f 66 20 74 68 69 73 | 20 6d 61 63 72 6f 20 69 | of this| macro i|
|000005e0| 73 20 74 6f 20 70 72 6f | 76 69 64 65 20 74 68 65 |s to pro|vide the|
|000005f0| 20 75 73 65 72 20 77 69 | 74 68 20 61 20 6d 65 61 | user wi|th a mea|
|00000600| 6e 73 20 74 6f 0a 23 20 | 63 68 65 63 6b 20 6d 61 |ns to.# |check ma|
|00000610| 63 72 6f 73 20 77 68 69 | 63 68 20 61 72 65 20 70 |cros whi|ch are p|
|00000620| 72 6f 76 69 64 65 64 20 | 77 69 74 68 6f 75 74 20 |rovided |without |
|00000630| 6c 65 74 74 69 6e 67 20 | 68 65 72 20 6b 6e 6f 77 |letting |her know|
|00000640| 20 68 6f 77 20 74 68 65 | 0a 23 20 69 6e 66 6f 72 | how the|.# infor|
|00000650| 6d 61 74 69 6f 6e 20 69 | 73 20 63 6f 64 65 64 2e |mation i|s coded.|
|00000660| 0a 23 20 49 66 20 74 68 | 69 73 20 6d 61 63 72 6f |.# If th|is macro|
|00000670| 20 69 73 20 6e 6f 74 20 | 64 65 66 69 6e 65 64 20 | is not |defined |
|00000680| 62 79 20 41 75 74 6f 63 | 6f 6e 66 2c 20 64 65 66 |by Autoc|onf, def|
|00000690| 69 6e 65 20 69 74 20 68 | 65 72 65 2e 0a 69 66 64 |ine it h|ere..ifd|
|000006a0| 65 66 28 5b 41 43 5f 50 | 52 4f 56 49 44 45 5f 49 |ef([AC_P|ROVIDE_I|
|000006b0| 46 45 4c 53 45 5d 2c 0a | 20 20 20 20 20 20 5b 5d |FELSE],.| []|
|000006c0| 2c 0a 20 20 20 20 20 20 | 5b 64 65 66 69 6e 65 28 |,. |[define(|
|000006d0| 5b 41 43 5f 50 52 4f 56 | 49 44 45 5f 49 46 45 4c |[AC_PROV|IDE_IFEL|
|000006e0| 53 45 5d 2c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |SE],. | |
|000006f0| 20 20 20 5b 69 66 64 65 | 66 28 5b 41 43 5f 50 52 | [ifde|f([AC_PR|
|00000700| 4f 56 49 44 45 5f 24 31 | 5d 2c 0a 20 20 20 20 20 |OVIDE_$1|],. |
|00000710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000720| 5b 24 32 5d 2c 20 5b 24 | 33 5d 29 5d 29 5d 29 0a |[$2], [$|3])])]).|
|00000730| 0a 0a 23 20 41 4d 5f 49 | 4e 49 54 5f 41 55 54 4f |..# AM_I|NIT_AUTO|
|00000740| 4d 41 4b 45 28 50 41 43 | 4b 41 47 45 2c 56 45 52 |MAKE(PAC|KAGE,VER|
|00000750| 53 49 4f 4e 2c 20 5b 4e | 4f 2d 44 45 46 49 4e 45 |SION, [N|O-DEFINE|
|00000760| 5d 29 0a 23 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |]).# ---|--------|
|00000770| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000790| 2d 2d 2d 0a 41 43 5f 44 | 45 46 55 4e 28 5b 41 4d |---.AC_D|EFUN([AM|
|000007a0| 5f 49 4e 49 54 5f 41 55 | 54 4f 4d 41 4b 45 5d 2c |_INIT_AU|TOMAKE],|
|000007b0| 0a 5b 41 43 5f 52 45 51 | 55 49 52 45 28 5b 41 43 |.[AC_REQ|UIRE([AC|
|000007c0| 5f 50 52 4f 47 5f 49 4e | 53 54 41 4c 4c 5d 29 64 |_PROG_IN|STALL])d|
|000007d0| 6e 6c 0a 23 20 74 65 73 | 74 20 74 6f 20 73 65 65 |nl.# tes|t to see|
|000007e0| 20 69 66 20 73 72 63 64 | 69 72 20 61 6c 72 65 61 | if srcd|ir alrea|
|000007f0| 64 79 20 63 6f 6e 66 69 | 67 75 72 65 64 0a 69 66 |dy confi|gured.if|
|00000800| 20 74 65 73 74 20 22 60 | 43 44 50 41 54 48 3d 3a | test "`|CDPATH=:|
|00000810| 3b 20 63 64 20 24 73 72 | 63 64 69 72 20 26 26 20 |; cd $sr|cdir && |
|00000820| 70 77 64 60 22 20 21 3d | 20 22 60 70 77 64 60 22 |pwd`" !=| "`pwd`"|
|00000830| 20 26 26 0a 20 20 20 74 | 65 73 74 20 2d 66 20 24 | &&. t|est -f $|
|00000840| 73 72 63 64 69 72 2f 63 | 6f 6e 66 69 67 2e 73 74 |srcdir/c|onfig.st|
|00000850| 61 74 75 73 3b 20 74 68 | 65 6e 0a 20 20 41 43 5f |atus; th|en. AC_|
|00000860| 4d 53 47 5f 45 52 52 4f | 52 28 5b 73 6f 75 72 63 |MSG_ERRO|R([sourc|
|00000870| 65 20 64 69 72 65 63 74 | 6f 72 79 20 61 6c 72 65 |e direct|ory alre|
|00000880| 61 64 79 20 63 6f 6e 66 | 69 67 75 72 65 64 3b 20 |ady conf|igured; |
|00000890| 72 75 6e 20 5c 22 6d 61 | 6b 65 20 64 69 73 74 63 |run \"ma|ke distc|
|000008a0| 6c 65 61 6e 5c 22 20 74 | 68 65 72 65 20 66 69 72 |lean\" t|here fir|
|000008b0| 73 74 5d 29 0a 66 69 0a | 0a 23 20 44 65 66 69 6e |st]).fi.|.# Defin|
|000008c0| 65 20 74 68 65 20 69 64 | 65 6e 74 69 74 79 20 6f |e the id|entity o|
|000008d0| 66 20 74 68 65 20 70 61 | 63 6b 61 67 65 2e 0a 50 |f the pa|ckage..P|
|000008e0| 41 43 4b 41 47 45 3d 24 | 31 0a 41 43 5f 53 55 42 |ACKAGE=$|1.AC_SUB|
|000008f0| 53 54 28 50 41 43 4b 41 | 47 45 29 64 6e 6c 0a 56 |ST(PACKA|GE)dnl.V|
|00000900| 45 52 53 49 4f 4e 3d 24 | 32 0a 41 43 5f 53 55 42 |ERSION=$|2.AC_SUB|
|00000910| 53 54 28 56 45 52 53 49 | 4f 4e 29 64 6e 6c 0a 69 |ST(VERSI|ON)dnl.i|
|00000920| 66 65 6c 73 65 28 5b 24 | 33 5d 2c 2c 0a 5b 41 43 |felse([$|3],,.[AC|
|00000930| 5f 44 45 46 49 4e 45 5f | 55 4e 51 55 4f 54 45 44 |_DEFINE_|UNQUOTED|
|00000940| 28 50 41 43 4b 41 47 45 | 2c 20 22 24 50 41 43 4b |(PACKAGE|, "$PACK|
|00000950| 41 47 45 22 2c 20 5b 4e | 61 6d 65 20 6f 66 20 70 |AGE", [N|ame of p|
|00000960| 61 63 6b 61 67 65 5d 29 | 0a 41 43 5f 44 45 46 49 |ackage])|.AC_DEFI|
|00000970| 4e 45 5f 55 4e 51 55 4f | 54 45 44 28 56 45 52 53 |NE_UNQUO|TED(VERS|
|00000980| 49 4f 4e 2c 20 22 24 56 | 45 52 53 49 4f 4e 22 2c |ION, "$V|ERSION",|
|00000990| 20 5b 56 65 72 73 69 6f | 6e 20 6e 75 6d 62 65 72 | [Versio|n number|
|000009a0| 20 6f 66 20 70 61 63 6b | 61 67 65 5d 29 5d 29 0a | of pack|age])]).|
|000009b0| 0a 23 20 41 75 74 6f 63 | 6f 6e 66 20 32 2e 35 30 |.# Autoc|onf 2.50|
|000009c0| 20 77 61 6e 74 73 20 74 | 6f 20 64 69 73 61 6c 6c | wants t|o disall|
|000009d0| 6f 77 20 41 4d 5f 20 6e | 61 6d 65 73 2e 20 20 57 |ow AM_ n|ames. W|
|000009e0| 65 20 65 78 70 6c 69 63 | 69 74 6c 79 20 61 6c 6c |e explic|itly all|
|000009f0| 6f 77 0a 23 20 74 68 65 | 20 6f 6e 65 73 20 77 65 |ow.# the| ones we|
|00000a00| 20 63 61 72 65 20 61 62 | 6f 75 74 2e 0a 69 66 64 | care ab|out..ifd|
|00000a10| 65 66 28 5b 6d 34 5f 70 | 61 74 74 65 72 6e 5f 61 |ef([m4_p|attern_a|
|00000a20| 6c 6c 6f 77 5d 2c 0a 20 | 20 20 20 20 20 5b 6d 34 |llow],. | [m4|
|00000a30| 5f 70 61 74 74 65 72 6e | 5f 61 6c 6c 6f 77 28 5b |_pattern|_allow([|
|00000a40| 5e 41 4d 5f 5b 41 2d 5a | 5d 2b 46 4c 41 47 53 5d |^AM_[A-Z|]+FLAGS]|
|00000a50| 29 5d 29 64 6e 6c 0a 0a | 23 20 41 75 74 6f 63 6f |)])dnl..|# Autoco|
|00000a60| 6e 66 20 32 2e 35 30 20 | 61 6c 77 61 79 73 20 63 |nf 2.50 |always c|
|00000a70| 6f 6d 70 75 74 65 73 20 | 45 58 45 45 58 54 2e 20 |omputes |EXEEXT. |
|00000a80| 20 48 6f 77 65 76 65 72 | 20 77 65 20 6e 65 65 64 | However| we need|
|00000a90| 20 74 6f 20 62 65 0a 23 | 20 63 6f 6d 70 61 74 69 | to be.#| compati|
|00000aa0| 62 6c 65 20 77 69 74 68 | 20 32 2e 31 33 2c 20 66 |ble with| 2.13, f|
|00000ab0| 6f 72 20 6e 6f 77 2e 20 | 20 53 6f 20 77 65 20 61 |or now. | So we a|
|00000ac0| 6c 77 61 79 73 20 64 65 | 66 69 6e 65 20 45 58 45 |lways de|fine EXE|
|00000ad0| 45 58 54 2c 20 62 75 74 | 20 77 65 0a 23 20 64 6f |EXT, but| we.# do|
|00000ae0| 6e 27 74 20 63 6f 6d 70 | 75 74 65 20 69 74 2e 0a |n't comp|ute it..|
|00000af0| 41 43 5f 53 55 42 53 54 | 28 45 58 45 45 58 54 29 |AC_SUBST|(EXEEXT)|
|00000b00| 0a 23 20 53 69 6d 69 6c | 61 72 20 66 6f 72 20 4f |.# Simil|ar for O|
|00000b10| 42 4a 45 58 54 20 2d 2d | 20 6f 6e 6c 79 20 77 65 |BJEXT --| only we|
|00000b20| 20 6f 6e 6c 79 20 75 73 | 65 20 4f 42 4a 45 58 54 | only us|e OBJEXT|
|00000b30| 20 69 66 20 74 68 65 20 | 75 73 65 72 20 61 63 74 | if the |user act|
|00000b40| 75 61 6c 6c 79 0a 23 20 | 72 65 71 75 65 73 74 73 |ually.# |requests|
|00000b50| 20 74 68 61 74 20 69 74 | 20 62 65 20 75 73 65 64 | that it| be used|
|00000b60| 2e 20 20 54 68 69 73 20 | 69 73 20 61 20 62 69 74 |. This |is a bit|
|00000b70| 20 64 75 6d 62 2e 0a 3a | 20 24 7b 4f 42 4a 45 58 | dumb..:| ${OBJEX|
|00000b80| 54 3d 6f 7d 0a 41 43 5f | 53 55 42 53 54 28 4f 42 |T=o}.AC_|SUBST(OB|
|00000b90| 4a 45 58 54 29 0a 0a 23 | 20 53 6f 6d 65 20 74 6f |JEXT)..#| Some to|
|00000ba0| 6f 6c 73 20 41 75 74 6f | 6d 61 6b 65 20 6e 65 65 |ols Auto|make nee|
|00000bb0| 64 73 2e 0a 41 43 5f 52 | 45 51 55 49 52 45 28 5b |ds..AC_R|EQUIRE([|
|00000bc0| 41 4d 5f 53 41 4e 49 54 | 59 5f 43 48 45 43 4b 5d |AM_SANIT|Y_CHECK]|
|00000bd0| 29 64 6e 6c 0a 41 43 5f | 52 45 51 55 49 52 45 28 |)dnl.AC_|REQUIRE(|
|00000be0| 5b 41 43 5f 41 52 47 5f | 50 52 4f 47 52 41 4d 5d |[AC_ARG_|PROGRAM]|
|00000bf0| 29 64 6e 6c 0a 41 4d 5f | 4d 49 53 53 49 4e 47 5f |)dnl.AM_|MISSING_|
|00000c00| 50 52 4f 47 28 41 43 4c | 4f 43 41 4c 2c 20 61 63 |PROG(ACL|OCAL, ac|
|00000c10| 6c 6f 63 61 6c 29 0a 41 | 4d 5f 4d 49 53 53 49 4e |local).A|M_MISSIN|
|00000c20| 47 5f 50 52 4f 47 28 41 | 55 54 4f 43 4f 4e 46 2c |G_PROG(A|UTOCONF,|
|00000c30| 20 61 75 74 6f 63 6f 6e | 66 29 0a 41 4d 5f 4d 49 | autocon|f).AM_MI|
|00000c40| 53 53 49 4e 47 5f 50 52 | 4f 47 28 41 55 54 4f 4d |SSING_PR|OG(AUTOM|
|00000c50| 41 4b 45 2c 20 61 75 74 | 6f 6d 61 6b 65 29 0a 41 |AKE, aut|omake).A|
|00000c60| 4d 5f 4d 49 53 53 49 4e | 47 5f 50 52 4f 47 28 41 |M_MISSIN|G_PROG(A|
|00000c70| 55 54 4f 48 45 41 44 45 | 52 2c 20 61 75 74 6f 68 |UTOHEADE|R, autoh|
|00000c80| 65 61 64 65 72 29 0a 41 | 4d 5f 4d 49 53 53 49 4e |eader).A|M_MISSIN|
|00000c90| 47 5f 50 52 4f 47 28 4d | 41 4b 45 49 4e 46 4f 2c |G_PROG(M|AKEINFO,|
|00000ca0| 20 6d 61 6b 65 69 6e 66 | 6f 29 0a 41 4d 5f 4d 49 | makeinf|o).AM_MI|
|00000cb0| 53 53 49 4e 47 5f 50 52 | 4f 47 28 41 4d 54 41 52 |SSING_PR|OG(AMTAR|
|00000cc0| 2c 20 74 61 72 29 0a 41 | 4d 5f 50 52 4f 47 5f 49 |, tar).A|M_PROG_I|
|00000cd0| 4e 53 54 41 4c 4c 5f 53 | 48 0a 41 4d 5f 50 52 4f |NSTALL_S|H.AM_PRO|
|00000ce0| 47 5f 49 4e 53 54 41 4c | 4c 5f 53 54 52 49 50 0a |G_INSTAL|L_STRIP.|
|00000cf0| 23 20 57 65 20 6e 65 65 | 64 20 61 77 6b 20 66 6f |# We nee|d awk fo|
|00000d00| 72 20 74 68 65 20 22 63 | 68 65 63 6b 22 20 74 61 |r the "c|heck" ta|
|00000d10| 72 67 65 74 2e 20 20 54 | 68 65 20 73 79 73 74 65 |rget. T|he syste|
|00000d20| 6d 20 22 61 77 6b 22 20 | 69 73 20 62 61 64 20 6f |m "awk" |is bad o|
|00000d30| 6e 0a 23 20 73 6f 6d 65 | 20 70 6c 61 74 66 6f 72 |n.# some| platfor|
|00000d40| 6d 73 2e 0a 41 43 5f 52 | 45 51 55 49 52 45 28 5b |ms..AC_R|EQUIRE([|
|00000d50| 41 43 5f 50 52 4f 47 5f | 41 57 4b 5d 29 64 6e 6c |AC_PROG_|AWK])dnl|
|00000d60| 0a 41 43 5f 52 45 51 55 | 49 52 45 28 5b 41 43 5f |.AC_REQU|IRE([AC_|
|00000d70| 50 52 4f 47 5f 4d 41 4b | 45 5f 53 45 54 5d 29 64 |PROG_MAK|E_SET])d|
|00000d80| 6e 6c 0a 41 43 5f 52 45 | 51 55 49 52 45 28 5b 41 |nl.AC_RE|QUIRE([A|
|00000d90| 4d 5f 44 45 50 5f 54 52 | 41 43 4b 5d 29 64 6e 6c |M_DEP_TR|ACK])dnl|
|00000da0| 0a 41 43 5f 52 45 51 55 | 49 52 45 28 5b 41 4d 5f |.AC_REQU|IRE([AM_|
|00000db0| 53 45 54 5f 44 45 50 44 | 49 52 5d 29 64 6e 6c 0a |SET_DEPD|IR])dnl.|
|00000dc0| 41 43 5f 50 52 4f 56 49 | 44 45 5f 49 46 45 4c 53 |AC_PROVI|DE_IFELS|
|00000dd0| 45 28 5b 41 43 5f 50 52 | 4f 47 5f 5d 5b 43 43 5d |E([AC_PR|OG_][CC]|
|00000de0| 2c 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,. | |
|00000df0| 20 20 20 20 5b 5f 41 4d | 5f 44 45 50 45 4e 44 45 | [_AM|_DEPENDE|
|00000e00| 4e 43 49 45 53 28 43 43 | 29 5d 2c 0a 20 20 20 20 |NCIES(CC|)],. |
|00000e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 5b 64 | | [d|
|00000e20| 65 66 69 6e 65 28 5b 41 | 43 5f 50 52 4f 47 5f 5d |efine([A|C_PROG_]|
|00000e30| 5b 43 43 5d 2c 0a 20 20 | 20 20 20 20 20 20 20 20 |[CC],. | |
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e50| 64 65 66 6e 28 5b 41 43 | 5f 50 52 4f 47 5f 5d 5b |defn([AC|_PROG_][|
|00000e60| 43 43 5d 29 5b 5f 41 4d | 5f 44 45 50 45 4e 44 45 |CC])[_AM|_DEPENDE|
|00000e70| 4e 43 49 45 53 28 43 43 | 29 5d 29 5d 29 64 6e 6c |NCIES(CC|)])])dnl|
|00000e80| 0a 41 43 5f 50 52 4f 56 | 49 44 45 5f 49 46 45 4c |.AC_PROV|IDE_IFEL|
|00000e90| 53 45 28 5b 41 43 5f 50 | 52 4f 47 5f 5d 5b 43 58 |SE([AC_P|ROG_][CX|
|00000ea0| 58 5d 2c 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |X],. | |
|00000eb0| 20 20 20 20 20 20 5b 5f | 41 4d 5f 44 45 50 45 4e | [_|AM_DEPEN|
|00000ec0| 44 45 4e 43 49 45 53 28 | 43 58 58 29 5d 2c 0a 20 |DENCIES(|CXX)],. |
|00000ed0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ee0| 20 5b 64 65 66 69 6e 65 | 28 5b 41 43 5f 50 52 4f | [define|([AC_PRO|
|00000ef0| 47 5f 5d 5b 43 58 58 5d | 2c 0a 20 20 20 20 20 20 |G_][CXX]|,. |
|00000f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000f10| 20 20 20 20 64 65 66 6e | 28 5b 41 43 5f 50 52 4f | defn|([AC_PRO|
|00000f20| 47 5f 5d 5b 43 58 58 5d | 29 5b 5f 41 4d 5f 44 45 |G_][CXX]|)[_AM_DE|
|00000f30| 50 45 4e 44 45 4e 43 49 | 45 53 28 43 58 58 29 5d |PENDENCI|ES(CXX)]|
|00000f40| 29 5d 29 64 6e 6c 0a 5d | 29 0a 0a 23 0a 23 20 43 |)])dnl.]|)..#.# C|
|00000f50| 68 65 63 6b 20 74 6f 20 | 6d 61 6b 65 20 73 75 72 |heck to |make sur|
|00000f60| 65 20 74 68 61 74 20 74 | 68 65 20 62 75 69 6c 64 |e that t|he build|
|00000f70| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 69 73 20 | environ|ment is |
|00000f80| 73 61 6e 65 2e 0a 23 0a | 0a 23 20 73 65 72 69 61 |sane..#.|.# seria|
|00000f90| 6c 20 33 0a 0a 23 20 41 | 4d 5f 53 41 4e 49 54 59 |l 3..# A|M_SANITY|
|00000fa0| 5f 43 48 45 43 4b 0a 23 | 20 2d 2d 2d 2d 2d 2d 2d |_CHECK.#| -------|
|00000fb0| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 41 43 5f 44 45 46 55 |--------|.AC_DEFU|
|00000fc0| 4e 28 5b 41 4d 5f 53 41 | 4e 49 54 59 5f 43 48 45 |N([AM_SA|NITY_CHE|
|00000fd0| 43 4b 5d 2c 0a 5b 41 43 | 5f 4d 53 47 5f 43 48 45 |CK],.[AC|_MSG_CHE|
|00000fe0| 43 4b 49 4e 47 28 5b 77 | 68 65 74 68 65 72 20 62 |CKING([w|hether b|
|00000ff0| 75 69 6c 64 20 65 6e 76 | 69 72 6f 6e 6d 65 6e 74 |uild env|ironment|
|00001000| 20 69 73 20 73 61 6e 65 | 5d 29 0a 23 20 4a 75 73 | is sane|]).# Jus|
|00001010| 74 20 69 6e 20 63 61 73 | 65 0a 73 6c 65 65 70 20 |t in cas|e.sleep |
|00001020| 31 0a 65 63 68 6f 20 74 | 69 6d 65 73 74 61 6d 70 |1.echo t|imestamp|
|00001030| 20 3e 20 63 6f 6e 66 74 | 65 73 74 2e 66 69 6c 65 | > conft|est.file|
|00001040| 0a 23 20 44 6f 20 60 73 | 65 74 27 20 69 6e 20 61 |.# Do `s|et' in a|
|00001050| 20 73 75 62 73 68 65 6c | 6c 20 73 6f 20 77 65 20 | subshel|l so we |
|00001060| 64 6f 6e 27 74 20 63 6c | 6f 62 62 65 72 20 74 68 |don't cl|obber th|
|00001070| 65 20 63 75 72 72 65 6e | 74 20 73 68 65 6c 6c 27 |e curren|t shell'|
|00001080| 73 0a 23 20 61 72 67 75 | 6d 65 6e 74 73 2e 20 20 |s.# argu|ments. |
|00001090| 4d 75 73 74 20 74 72 79 | 20 2d 4c 20 66 69 72 73 |Must try| -L firs|
|000010a0| 74 20 69 6e 20 63 61 73 | 65 20 63 6f 6e 66 69 67 |t in cas|e config|
|000010b0| 75 72 65 20 69 73 20 61 | 63 74 75 61 6c 6c 79 20 |ure is a|ctually |
|000010c0| 61 0a 23 20 73 79 6d 6c | 69 6e 6b 3b 20 73 6f 6d |a.# syml|ink; som|
|000010d0| 65 20 73 79 73 74 65 6d | 73 20 70 6c 61 79 20 77 |e system|s play w|
|000010e0| 65 69 72 64 20 67 61 6d | 65 73 20 77 69 74 68 20 |eird gam|es with |
|000010f0| 74 68 65 20 6d 6f 64 20 | 74 69 6d 65 20 6f 66 20 |the mod |time of |
|00001100| 73 79 6d 6c 69 6e 6b 73 | 0a 23 20 28 65 67 20 46 |symlinks|.# (eg F|
|00001110| 72 65 65 42 53 44 20 72 | 65 74 75 72 6e 73 20 74 |reeBSD r|eturns t|
|00001120| 68 65 20 6d 6f 64 20 74 | 69 6d 65 20 6f 66 20 74 |he mod t|ime of t|
|00001130| 68 65 20 73 79 6d 6c 69 | 6e 6b 27 73 20 63 6f 6e |he symli|nk's con|
|00001140| 74 61 69 6e 69 6e 67 0a | 23 20 64 69 72 65 63 74 |taining.|# direct|
|00001150| 6f 72 79 29 2e 0a 69 66 | 20 28 0a 20 20 20 73 65 |ory)..if| (. se|
|00001160| 74 20 58 20 60 6c 73 20 | 2d 4c 74 20 24 73 72 63 |t X `ls |-Lt $src|
|00001170| 64 69 72 2f 63 6f 6e 66 | 69 67 75 72 65 20 63 6f |dir/conf|igure co|
|00001180| 6e 66 74 65 73 74 2e 66 | 69 6c 65 20 32 3e 20 2f |nftest.f|ile 2> /|
|00001190| 64 65 76 2f 6e 75 6c 6c | 60 0a 20 20 20 69 66 20 |dev/null|`. if |
|000011a0| 74 65 73 74 20 22 24 5b | 2a 5d 22 20 3d 20 22 58 |test "$[|*]" = "X|
|000011b0| 22 3b 20 74 68 65 6e 0a | 20 20 20 20 20 20 23 20 |"; then.| # |
|000011c0| 2d 4c 20 64 69 64 6e 27 | 74 20 77 6f 72 6b 2e 0a |-L didn'|t work..|
|000011d0| 20 20 20 20 20 20 73 65 | 74 20 58 20 60 6c 73 20 | se|t X `ls |
|000011e0| 2d 74 20 24 73 72 63 64 | 69 72 2f 63 6f 6e 66 69 |-t $srcd|ir/confi|
|000011f0| 67 75 72 65 20 63 6f 6e | 66 74 65 73 74 2e 66 69 |gure con|ftest.fi|
|00001200| 6c 65 60 0a 20 20 20 66 | 69 0a 20 20 20 72 6d 20 |le`. f|i. rm |
|00001210| 2d 66 20 63 6f 6e 66 74 | 65 73 74 2e 66 69 6c 65 |-f conft|est.file|
|00001220| 0a 20 20 20 69 66 20 74 | 65 73 74 20 22 24 5b 2a |. if t|est "$[*|
|00001230| 5d 22 20 21 3d 20 22 58 | 20 24 73 72 63 64 69 72 |]" != "X| $srcdir|
|00001240| 2f 63 6f 6e 66 69 67 75 | 72 65 20 63 6f 6e 66 74 |/configu|re conft|
|00001250| 65 73 74 2e 66 69 6c 65 | 22 20 5c 0a 20 20 20 20 |est.file|" \. |
|00001260| 20 20 26 26 20 74 65 73 | 74 20 22 24 5b 2a 5d 22 | && tes|t "$[*]"|
|00001270| 20 21 3d 20 22 58 20 63 | 6f 6e 66 74 65 73 74 2e | != "X c|onftest.|
|00001280| 66 69 6c 65 20 24 73 72 | 63 64 69 72 2f 63 6f 6e |file $sr|cdir/con|
|00001290| 66 69 67 75 72 65 22 3b | 20 74 68 65 6e 0a 0a 20 |figure";| then.. |
|000012a0| 20 20 20 20 20 23 20 49 | 66 20 6e 65 69 74 68 65 | # I|f neithe|
|000012b0| 72 20 6d 61 74 63 68 65 | 64 2c 20 74 68 65 6e 20 |r matche|d, then |
|000012c0| 77 65 20 68 61 76 65 20 | 61 20 62 72 6f 6b 65 6e |we have |a broken|
|000012d0| 20 6c 73 2e 20 20 54 68 | 69 73 20 63 61 6e 20 68 | ls. Th|is can h|
|000012e0| 61 70 70 65 6e 0a 20 20 | 20 20 20 20 23 20 69 66 |appen. | # if|
|000012f0| 2c 20 66 6f 72 20 69 6e | 73 74 61 6e 63 65 2c 20 |, for in|stance, |
|00001300| 43 4f 4e 46 49 47 5f 53 | 48 45 4c 4c 20 69 73 20 |CONFIG_S|HELL is |
|00001310| 62 61 73 68 20 61 6e 64 | 20 69 74 20 69 6e 68 65 |bash and| it inhe|
|00001320| 72 69 74 73 20 61 0a 20 | 20 20 20 20 20 23 20 62 |rits a. | # b|
|00001330| 72 6f 6b 65 6e 20 6c 73 | 20 61 6c 69 61 73 20 66 |roken ls| alias f|
|00001340| 72 6f 6d 20 74 68 65 20 | 65 6e 76 69 72 6f 6e 6d |rom the |environm|
|00001350| 65 6e 74 2e 20 20 54 68 | 69 73 20 68 61 73 20 61 |ent. Th|is has a|
|00001360| 63 74 75 61 6c 6c 79 0a | 20 20 20 20 20 20 23 20 |ctually.| # |
|00001370| 68 61 70 70 65 6e 65 64 | 2e 20 20 53 75 63 68 20 |happened|. Such |
|00001380| 61 20 73 79 73 74 65 6d | 20 63 6f 75 6c 64 20 6e |a system| could n|
|00001390| 6f 74 20 62 65 20 63 6f | 6e 73 69 64 65 72 65 64 |ot be co|nsidered|
|000013a0| 20 22 73 61 6e 65 22 2e | 0a 20 20 20 20 20 20 41 | "sane".|. A|
|000013b0| 43 5f 4d 53 47 5f 45 52 | 52 4f 52 28 5b 6c 73 20 |C_MSG_ER|ROR([ls |
|000013c0| 2d 74 20 61 70 70 65 61 | 72 73 20 74 6f 20 66 61 |-t appea|rs to fa|
|000013d0| 69 6c 2e 20 20 4d 61 6b | 65 20 73 75 72 65 20 74 |il. Mak|e sure t|
|000013e0| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 62 72 |here is |not a br|
|000013f0| 6f 6b 65 6e 0a 61 6c 69 | 61 73 20 69 6e 20 79 6f |oken.ali|as in yo|
|00001400| 75 72 20 65 6e 76 69 72 | 6f 6e 6d 65 6e 74 5d 29 |ur envir|onment])|
|00001410| 0a 20 20 20 66 69 0a 0a | 20 20 20 74 65 73 74 20 |. fi..| test |
|00001420| 22 24 5b 32 5d 22 20 3d | 20 63 6f 6e 66 74 65 73 |"$[2]" =| conftes|
|00001430| 74 2e 66 69 6c 65 0a 20 | 20 20 29 0a 74 68 65 6e |t.file. | ).then|
|00001440| 0a 20 20 20 23 20 4f 6b | 2e 0a 20 20 20 3a 0a 65 |. # Ok|.. :.e|
|00001450| 6c 73 65 0a 20 20 20 41 | 43 5f 4d 53 47 5f 45 52 |lse. A|C_MSG_ER|
|00001460| 52 4f 52 28 5b 6e 65 77 | 6c 79 20 63 72 65 61 74 |ROR([new|ly creat|
|00001470| 65 64 20 66 69 6c 65 20 | 69 73 20 6f 6c 64 65 72 |ed file |is older|
|00001480| 20 74 68 61 6e 20 64 69 | 73 74 72 69 62 75 74 65 | than di|stribute|
|00001490| 64 20 66 69 6c 65 73 21 | 0a 43 68 65 63 6b 20 79 |d files!|.Check y|
|000014a0| 6f 75 72 20 73 79 73 74 | 65 6d 20 63 6c 6f 63 6b |our syst|em clock|
|000014b0| 5d 29 0a 66 69 0a 41 43 | 5f 4d 53 47 5f 52 45 53 |]).fi.AC|_MSG_RES|
|000014c0| 55 4c 54 28 79 65 73 29 | 5d 29 0a 0a 0a 23 20 73 |ULT(yes)|])...# s|
|000014d0| 65 72 69 61 6c 20 32 0a | 0a 23 20 41 4d 5f 4d 49 |erial 2.|.# AM_MI|
|000014e0| 53 53 49 4e 47 5f 50 52 | 4f 47 28 4e 41 4d 45 2c |SSING_PR|OG(NAME,|
|000014f0| 20 50 52 4f 47 52 41 4d | 29 0a 23 20 2d 2d 2d 2d | PROGRAM|).# ----|
|00001500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 41 43 5f 44 45 |--------|--.AC_DE|
|00001520| 46 55 4e 28 5b 41 4d 5f | 4d 49 53 53 49 4e 47 5f |FUN([AM_|MISSING_|
|00001530| 50 52 4f 47 5d 2c 0a 5b | 41 43 5f 52 45 51 55 49 |PROG],.[|AC_REQUI|
|00001540| 52 45 28 5b 41 4d 5f 4d | 49 53 53 49 4e 47 5f 48 |RE([AM_M|ISSING_H|
|00001550| 41 53 5f 52 55 4e 5d 29 | 0a 24 31 3d 24 7b 24 31 |AS_RUN])|.$1=${$1|
|00001560| 2d 22 24 7b 61 6d 5f 6d | 69 73 73 69 6e 67 5f 72 |-"${am_m|issing_r|
|00001570| 75 6e 7d 24 32 22 7d 0a | 41 43 5f 53 55 42 53 54 |un}$2"}.|AC_SUBST|
|00001580| 28 24 31 29 5d 29 0a 0a | 0a 23 20 41 4d 5f 4d 49 |($1)])..|.# AM_MI|
|00001590| 53 53 49 4e 47 5f 48 41 | 53 5f 52 55 4e 0a 23 20 |SSING_HA|S_RUN.# |
|000015a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000015b0| 2d 2d 0a 23 20 44 65 66 | 69 6e 65 20 4d 49 53 53 |--.# Def|ine MISS|
|000015c0| 49 4e 47 20 69 66 20 6e | 6f 74 20 64 65 66 69 6e |ING if n|ot defin|
|000015d0| 65 64 20 73 6f 20 66 61 | 72 20 61 6e 64 20 74 65 |ed so fa|r and te|
|000015e0| 73 74 20 69 66 20 69 74 | 20 73 75 70 70 6f 72 74 |st if it| support|
|000015f0| 73 20 2d 2d 72 75 6e 2e | 0a 23 20 49 66 20 69 74 |s --run.|.# If it|
|00001600| 20 64 6f 65 73 2c 20 73 | 65 74 20 61 6d 5f 6d 69 | does, s|et am_mi|
|00001610| 73 73 69 6e 67 5f 72 75 | 6e 20 74 6f 20 75 73 65 |ssing_ru|n to use|
|00001620| 20 69 74 2c 20 6f 74 68 | 65 72 77 69 73 65 2c 20 | it, oth|erwise, |
|00001630| 74 6f 20 6e 6f 74 68 69 | 6e 67 2e 0a 41 43 5f 44 |to nothi|ng..AC_D|
|00001640| 45 46 55 4e 28 5b 41 4d | 5f 4d 49 53 53 49 4e 47 |EFUN([AM|_MISSING|
|00001650| 5f 48 41 53 5f 52 55 4e | 5d 2c 0a 5b 41 43 5f 52 |_HAS_RUN|],.[AC_R|
|00001660| 45 51 55 49 52 45 28 5b | 41 4d 5f 41 55 58 5f 44 |EQUIRE([|AM_AUX_D|
|00001670| 49 52 5f 45 58 50 41 4e | 44 5d 29 64 6e 6c 0a 74 |IR_EXPAN|D])dnl.t|
|00001680| 65 73 74 20 78 22 24 7b | 4d 49 53 53 49 4e 47 2b |est x"${|MISSING+|
|00001690| 73 65 74 7d 22 20 3d 20 | 78 73 65 74 20 7c 7c 20 |set}" = |xset || |
|000016a0| 4d 49 53 53 49 4e 47 3d | 22 5c 24 7b 53 48 45 4c |MISSING=|"\${SHEL|
|000016b0| 4c 7d 20 24 61 6d 5f 61 | 75 78 5f 64 69 72 2f 6d |L} $am_a|ux_dir/m|
|000016c0| 69 73 73 69 6e 67 22 0a | 23 20 55 73 65 20 65 76 |issing".|# Use ev|
|000016d0| 61 6c 20 74 6f 20 65 78 | 70 61 6e 64 20 24 53 48 |al to ex|pand $SH|
|000016e0| 45 4c 4c 0a 69 66 20 65 | 76 61 6c 20 22 24 4d 49 |ELL.if e|val "$MI|
|000016f0| 53 53 49 4e 47 20 2d 2d | 72 75 6e 20 74 72 75 65 |SSING --|run true|
|00001700| 22 3b 20 74 68 65 6e 0a | 20 20 61 6d 5f 6d 69 73 |"; then.| am_mis|
|00001710| 73 69 6e 67 5f 72 75 6e | 3d 22 24 4d 49 53 53 49 |sing_run|="$MISSI|
|00001720| 4e 47 20 2d 2d 72 75 6e | 20 22 0a 65 6c 73 65 0a |NG --run| ".else.|
|00001730| 20 20 61 6d 5f 6d 69 73 | 73 69 6e 67 5f 72 75 6e | am_mis|sing_run|
|00001740| 3d 0a 20 20 61 6d 5f 62 | 61 63 6b 74 69 63 6b 3d |=. am_b|acktick=|
|00001750| 27 60 27 0a 20 20 41 43 | 5f 4d 53 47 5f 57 41 52 |'`'. AC|_MSG_WAR|
|00001760| 4e 28 5b 24 7b 61 6d 5f | 62 61 63 6b 74 69 63 6b |N([${am_|backtick|
|00001770| 7d 6d 69 73 73 69 6e 67 | 27 20 73 63 72 69 70 74 |}missing|' script|
|00001780| 20 69 73 20 74 6f 6f 20 | 6f 6c 64 20 6f 72 20 6d | is too |old or m|
|00001790| 69 73 73 69 6e 67 5d 29 | 0a 66 69 0a 5d 29 0a 0a |issing])|.fi.])..|
|000017a0| 23 20 41 4d 5f 41 55 58 | 5f 44 49 52 5f 45 58 50 |# AM_AUX|_DIR_EXP|
|000017b0| 41 4e 44 0a 0a 23 20 46 | 6f 72 20 70 72 6f 6a 65 |AND..# F|or proje|
|000017c0| 63 74 73 20 75 73 69 6e | 67 20 41 43 5f 43 4f 4e |cts usin|g AC_CON|
|000017d0| 46 49 47 5f 41 55 58 5f | 44 49 52 28 5b 66 6f 6f |FIG_AUX_|DIR([foo|
|000017e0| 5d 29 2c 20 41 75 74 6f | 63 6f 6e 66 20 73 65 74 |]), Auto|conf set|
|000017f0| 73 0a 23 20 24 61 63 5f | 61 75 78 5f 64 69 72 20 |s.# $ac_|aux_dir |
|00001800| 74 6f 20 60 24 73 72 63 | 64 69 72 2f 66 6f 6f 27 |to `$src|dir/foo'|
|00001810| 2e 20 20 49 6e 20 6f 74 | 68 65 72 20 70 72 6f 6a |. In ot|her proj|
|00001820| 65 63 74 73 2c 20 69 74 | 20 69 73 20 73 65 74 20 |ects, it| is set |
|00001830| 74 6f 0a 23 20 60 24 73 | 72 63 64 69 72 27 2c 20 |to.# `$s|rcdir', |
|00001840| 60 24 73 72 63 64 69 72 | 2f 2e 2e 27 2c 20 6f 72 |`$srcdir|/..', or|
|00001850| 20 60 24 73 72 63 64 69 | 72 2f 2e 2e 2f 2e 2e 27 | `$srcdi|r/../..'|
|00001860| 2e 0a 23 0a 23 20 4f 66 | 20 63 6f 75 72 73 65 2c |..#.# Of| course,|
|00001870| 20 41 75 74 6f 6d 61 6b | 65 20 6d 75 73 74 20 68 | Automak|e must h|
|00001880| 6f 6e 6f 72 20 74 68 69 | 73 20 76 61 72 69 61 62 |onor thi|s variab|
|00001890| 6c 65 20 77 68 65 6e 65 | 76 65 72 20 69 74 20 63 |le whene|ver it c|
|000018a0| 61 6c 6c 73 20 61 0a 23 | 20 74 6f 6f 6c 20 66 72 |alls a.#| tool fr|
|000018b0| 6f 6d 20 74 68 65 20 61 | 75 78 69 6c 69 61 72 79 |om the a|uxiliary|
|000018c0| 20 64 69 72 65 63 74 6f | 72 79 2e 20 20 54 68 65 | directo|ry. The|
|000018d0| 20 70 72 6f 62 6c 65 6d | 20 69 73 20 74 68 61 74 | problem| is that|
|000018e0| 20 24 73 72 63 64 69 72 | 20 28 61 6e 64 0a 23 20 | $srcdir| (and.# |
|000018f0| 74 68 65 72 65 66 6f 72 | 65 20 24 61 63 5f 61 75 |therefor|e $ac_au|
|00001900| 78 5f 64 69 72 20 61 73 | 20 77 65 6c 6c 29 20 63 |x_dir as| well) c|
|00001910| 61 6e 20 62 65 20 65 69 | 74 68 65 72 20 61 62 73 |an be ei|ther abs|
|00001920| 6f 6c 75 74 65 20 6f 72 | 20 72 65 6c 61 74 69 76 |olute or| relativ|
|00001930| 65 2c 0a 23 20 64 65 70 | 65 6e 64 69 6e 67 20 6f |e,.# dep|ending o|
|00001940| 6e 20 68 6f 77 20 63 6f | 6e 66 69 67 75 72 65 20 |n how co|nfigure |
|00001950| 69 73 20 72 75 6e 2e 20 | 20 54 68 69 73 20 69 73 |is run. | This is|
|00001960| 20 70 72 65 74 74 79 20 | 61 6e 6e 6f 79 69 6e 67 | pretty |annoying|
|00001970| 2c 20 73 69 6e 63 65 0a | 23 20 69 74 20 6d 61 6b |, since.|# it mak|
|00001980| 65 73 20 24 61 63 5f 61 | 75 78 5f 64 69 72 20 71 |es $ac_a|ux_dir q|
|00001990| 75 69 74 65 20 75 6e 75 | 73 61 62 6c 65 20 69 6e |uite unu|sable in|
|000019a0| 20 73 75 62 64 69 72 65 | 63 74 6f 72 69 65 73 3a | subdire|ctories:|
|000019b0| 20 69 6e 20 74 68 65 20 | 74 6f 70 0a 23 20 73 6f | in the |top.# so|
|000019c0| 75 72 63 65 20 64 69 72 | 65 63 74 6f 72 79 2c 20 |urce dir|ectory, |
|000019d0| 61 6e 79 20 66 6f 72 6d | 20 77 69 6c 6c 20 77 6f |any form| will wo|
|000019e0| 72 6b 20 66 69 6e 65 2c | 20 62 75 74 20 69 6e 20 |rk fine,| but in |
|000019f0| 73 75 62 64 69 72 65 63 | 74 6f 72 69 65 73 20 61 |subdirec|tories a|
|00001a00| 0a 23 20 72 65 6c 61 74 | 69 76 65 20 70 61 74 68 |.# relat|ive path|
|00001a10| 20 6e 65 65 64 73 20 74 | 6f 20 62 65 20 61 64 6a | needs t|o be adj|
|00001a20| 75 73 74 65 64 20 66 69 | 72 73 74 2e 0a 23 0a 23 |usted fi|rst..#.#|
|00001a30| 20 24 61 63 5f 61 75 78 | 5f 64 69 72 2f 6d 69 73 | $ac_aux|_dir/mis|
|00001a40| 73 69 6e 67 0a 23 20 20 | 20 20 66 61 69 6c 73 20 |sing.# | fails |
|00001a50| 77 68 65 6e 20 63 61 6c | 6c 65 64 20 66 72 6f 6d |when cal|led from|
|00001a60| 20 61 20 73 75 62 64 69 | 72 65 63 74 6f 72 79 20 | a subdi|rectory |
|00001a70| 69 66 20 24 61 63 5f 61 | 75 78 5f 64 69 72 20 69 |if $ac_a|ux_dir i|
|00001a80| 73 20 72 65 6c 61 74 69 | 76 65 0a 23 20 24 74 6f |s relati|ve.# $to|
|00001a90| 70 5f 73 72 63 64 69 72 | 2f 24 61 63 5f 61 75 78 |p_srcdir|/$ac_aux|
|00001aa0| 5f 64 69 72 2f 6d 69 73 | 73 69 6e 67 0a 23 20 20 |_dir/mis|sing.# |
|00001ab0| 20 20 66 61 69 6c 73 20 | 69 66 20 24 61 63 5f 61 | fails |if $ac_a|
|00001ac0| 75 78 5f 64 69 72 20 69 | 73 20 61 62 73 6f 6c 75 |ux_dir i|s absolu|
|00001ad0| 74 65 2c 0a 23 20 20 20 | 20 66 61 69 6c 73 20 77 |te,.# | fails w|
|00001ae0| 68 65 6e 20 63 61 6c 6c | 65 64 20 66 72 6f 6d 20 |hen call|ed from |
|00001af0| 61 20 73 75 62 64 69 72 | 65 63 74 6f 72 79 20 69 |a subdir|ectory i|
|00001b00| 6e 20 61 20 56 50 41 54 | 48 20 62 75 69 6c 64 20 |n a VPAT|H build |
|00001b10| 77 69 74 68 0a 23 20 20 | 20 20 20 20 20 20 20 20 |with.# | |
|00001b20| 61 20 72 65 6c 61 74 69 | 76 65 20 24 61 63 5f 61 |a relati|ve $ac_a|
|00001b30| 75 78 5f 64 69 72 0a 23 | 0a 23 20 54 68 65 20 72 |ux_dir.#|.# The r|
|00001b40| 65 61 73 6f 6e 20 6f 66 | 20 74 68 65 20 6c 61 74 |eason of| the lat|
|00001b50| 74 65 72 20 66 61 69 6c | 75 72 65 20 69 73 20 74 |ter fail|ure is t|
|00001b60| 68 61 74 20 24 74 6f 70 | 5f 73 72 63 64 69 72 20 |hat $top|_srcdir |
|00001b70| 61 6e 64 20 24 61 63 5f | 61 75 78 5f 64 69 72 0a |and $ac_|aux_dir.|
|00001b80| 23 20 61 72 65 20 62 6f | 74 68 20 70 72 65 66 69 |# are bo|th prefi|
|00001b90| 78 65 64 20 62 79 20 24 | 73 72 63 64 69 72 2e 20 |xed by $|srcdir. |
|00001ba0| 20 49 6e 20 61 6e 20 69 | 6e 2d 73 6f 75 72 63 65 | In an i|n-source|
|00001bb0| 20 62 75 69 6c 64 20 74 | 68 69 73 20 69 73 20 75 | build t|his is u|
|00001bc0| 73 75 61 6c 6c 79 0a 23 | 20 68 61 72 6d 6c 65 73 |sually.#| harmles|
|00001bd0| 73 20 62 65 63 61 75 73 | 65 20 24 73 72 63 64 69 |s becaus|e $srcdi|
|00001be0| 72 20 69 73 20 60 2e 27 | 2c 20 62 75 74 20 74 68 |r is `.'|, but th|
|00001bf0| 69 6e 67 73 20 77 69 6c | 6c 20 62 72 6f 6b 65 20 |ings wil|l broke |
|00001c00| 77 68 65 6e 20 79 6f 75 | 0a 23 20 73 74 61 72 74 |when you|.# start|
|00001c10| 20 61 20 56 50 41 54 48 | 20 62 75 69 6c 64 20 6f | a VPATH| build o|
|00001c20| 72 20 75 73 65 20 61 6e | 20 61 62 73 6f 6c 75 74 |r use an| absolut|
|00001c30| 65 20 24 73 72 63 64 69 | 72 2e 0a 23 0a 23 20 53 |e $srcdi|r..#.# S|
|00001c40| 6f 20 77 65 20 63 6f 75 | 6c 64 20 75 73 65 20 73 |o we cou|ld use s|
|00001c50| 6f 6d 65 74 68 69 6e 67 | 20 73 69 6d 69 6c 61 72 |omething| similar|
|00001c60| 20 74 6f 20 24 74 6f 70 | 5f 73 72 63 64 69 72 2f | to $top|_srcdir/|
|00001c70| 24 61 63 5f 61 75 78 5f | 64 69 72 2f 6d 69 73 73 |$ac_aux_|dir/miss|
|00001c80| 69 6e 67 2c 0a 23 20 69 | 66 66 20 77 65 20 73 74 |ing,.# i|ff we st|
|00001c90| 72 69 70 20 74 68 65 20 | 6c 65 61 64 69 6e 67 20 |rip the |leading |
|00001ca0| 24 73 72 63 64 69 72 20 | 66 72 6f 6d 20 24 61 63 |$srcdir |from $ac|
|00001cb0| 5f 61 75 78 5f 64 69 72 | 2e 20 20 54 68 61 74 20 |_aux_dir|. That |
|00001cc0| 77 6f 75 6c 64 20 62 65 | 3a 0a 23 20 20 20 61 6d |would be|:.# am|
|00001cd0| 5f 61 75 78 5f 64 69 72 | 3d 27 5c 24 28 74 6f 70 |_aux_dir|='\$(top|
|00001ce0| 5f 73 72 63 64 69 72 29 | 2f 27 60 65 78 70 72 20 |_srcdir)|/'`expr |
|00001cf0| 22 24 61 63 5f 61 75 78 | 5f 64 69 72 22 20 3a 20 |"$ac_aux|_dir" : |
|00001d00| 22 24 73 72 63 64 69 72 | 2f 2f 2a 5c 28 2e 2a 5c |"$srcdir|//*\(.*\|
|00001d10| 29 22 60 0a 23 20 61 6e | 64 20 74 68 65 6e 20 77 |)"`.# an|d then w|
|00001d20| 65 20 77 6f 75 6c 64 20 | 64 65 66 69 6e 65 20 24 |e would |define $|
|00001d30| 4d 49 53 53 49 4e 47 20 | 61 73 0a 23 20 20 20 4d |MISSING |as.# M|
|00001d40| 49 53 53 49 4e 47 3d 22 | 5c 24 7b 53 48 45 4c 4c |ISSING="|\${SHELL|
|00001d50| 7d 20 24 61 6d 5f 61 75 | 78 5f 64 69 72 2f 6d 69 |} $am_au|x_dir/mi|
|00001d60| 73 73 69 6e 67 22 0a 23 | 20 54 68 69 73 20 77 69 |ssing".#| This wi|
|00001d70| 6c 6c 20 77 6f 72 6b 20 | 61 73 20 6c 6f 6e 67 20 |ll work |as long |
|00001d80| 61 73 20 4d 49 53 53 49 | 4e 47 20 69 73 20 6e 6f |as MISSI|NG is no|
|00001d90| 74 20 63 61 6c 6c 65 64 | 20 66 72 6f 6d 20 63 6f |t called| from co|
|00001da0| 6e 66 69 67 75 72 65 2c | 20 62 65 63 61 75 73 65 |nfigure,| because|
|00001db0| 0a 23 20 75 6e 66 6f 72 | 74 75 6e 61 74 65 6c 79 |.# unfor|tunately|
|00001dc0| 20 24 28 74 6f 70 5f 73 | 72 63 64 69 72 29 20 68 | $(top_s|rcdir) h|
|00001dd0| 61 73 20 6e 6f 20 6d 65 | 61 6e 69 6e 67 20 69 6e |as no me|aning in|
|00001de0| 20 63 6f 6e 66 69 67 75 | 72 65 2e 0a 23 20 48 6f | configu|re..# Ho|
|00001df0| 77 65 76 65 72 20 74 68 | 65 72 65 20 61 72 65 20 |wever th|ere are |
|00001e00| 6f 74 68 65 72 20 76 61 | 72 69 61 62 6c 65 73 2c |other va|riables,|
|00001e10| 20 6c 69 6b 65 20 43 43 | 2c 20 77 68 69 63 68 20 | like CC|, which |
|00001e20| 61 72 65 20 6f 66 74 65 | 6e 20 75 73 65 64 20 69 |are ofte|n used i|
|00001e30| 6e 0a 23 20 63 6f 6e 66 | 69 67 75 72 65 2c 20 61 |n.# conf|igure, a|
|00001e40| 6e 64 20 63 6f 75 6c 64 | 20 74 68 65 72 65 66 6f |nd could| therefo|
|00001e50| 72 65 20 6e 6f 74 20 75 | 73 65 20 74 68 69 73 20 |re not u|se this |
|00001e60| 22 66 69 78 65 64 22 20 | 24 61 63 5f 61 75 78 5f |"fixed" |$ac_aux_|
|00001e70| 64 69 72 2e 0a 23 0a 23 | 20 41 6e 6f 74 68 65 72 |dir..#.#| Another|
|00001e80| 20 73 6f 6c 75 74 69 6f | 6e 2c 20 75 73 65 64 20 | solutio|n, used |
|00001e90| 68 65 72 65 2c 20 69 73 | 20 74 6f 20 61 6c 77 61 |here, is| to alwa|
|00001ea0| 79 73 20 65 78 70 61 6e | 64 20 24 61 63 5f 61 75 |ys expan|d $ac_au|
|00001eb0| 78 5f 64 69 72 20 74 6f | 20 61 6e 0a 23 20 61 62 |x_dir to| an.# ab|
|00001ec0| 73 6f 6c 75 74 65 20 50 | 41 54 48 2e 20 20 54 68 |solute P|ATH. Th|
|00001ed0| 65 20 64 72 61 77 62 61 | 63 6b 20 69 73 20 74 68 |e drawba|ck is th|
|00001ee0| 61 74 20 75 73 69 6e 67 | 20 61 62 73 6f 6c 75 74 |at using| absolut|
|00001ef0| 65 20 70 61 74 68 73 20 | 70 72 65 76 65 6e 74 20 |e paths |prevent |
|00001f00| 61 0a 23 20 63 6f 6e 66 | 69 67 75 72 65 64 20 74 |a.# conf|igured t|
|00001f10| 72 65 65 20 74 6f 20 62 | 65 20 6d 6f 76 65 64 20 |ree to b|e moved |
|00001f20| 77 69 74 68 6f 75 74 20 | 72 65 63 6f 6e 66 69 67 |without |reconfig|
|00001f30| 75 72 61 74 69 6f 6e 2e | 0a 0a 41 43 5f 44 45 46 |uration.|..AC_DEF|
|00001f40| 55 4e 28 5b 41 4d 5f 41 | 55 58 5f 44 49 52 5f 45 |UN([AM_A|UX_DIR_E|
|00001f50| 58 50 41 4e 44 5d 2c 20 | 5b 0a 23 20 65 78 70 61 |XPAND], |[.# expa|
|00001f60| 6e 64 20 24 61 63 5f 61 | 75 78 5f 64 69 72 20 74 |nd $ac_a|ux_dir t|
|00001f70| 6f 20 61 6e 20 61 62 73 | 6f 6c 75 74 65 20 70 61 |o an abs|olute pa|
|00001f80| 74 68 0a 61 6d 5f 61 75 | 78 5f 64 69 72 3d 60 43 |th.am_au|x_dir=`C|
|00001f90| 44 50 41 54 48 3d 3a 3b | 20 63 64 20 24 61 63 5f |DPATH=:;| cd $ac_|
|00001fa0| 61 75 78 5f 64 69 72 20 | 26 26 20 70 77 64 60 0a |aux_dir |&& pwd`.|
|00001fb0| 5d 29 0a 0a 23 20 41 4d | 5f 50 52 4f 47 5f 49 4e |])..# AM|_PROG_IN|
|00001fc0| 53 54 41 4c 4c 5f 53 48 | 0a 23 20 2d 2d 2d 2d 2d |STALL_SH|.# -----|
|00001fd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 23 20 |--------|-----.# |
|00001fe0| 44 65 66 69 6e 65 20 24 | 69 6e 73 74 61 6c 6c 5f |Define $|install_|
|00001ff0| 73 68 2e 0a 41 43 5f 44 | 45 46 55 4e 28 5b 41 4d |sh..AC_D|EFUN([AM|
|00002000| 5f 50 52 4f 47 5f 49 4e | 53 54 41 4c 4c 5f 53 48 |_PROG_IN|STALL_SH|
|00002010| 5d 2c 0a 5b 41 43 5f 52 | 45 51 55 49 52 45 28 5b |],.[AC_R|EQUIRE([|
|00002020| 41 4d 5f 41 55 58 5f 44 | 49 52 5f 45 58 50 41 4e |AM_AUX_D|IR_EXPAN|
|00002030| 44 5d 29 64 6e 6c 0a 69 | 6e 73 74 61 6c 6c 5f 73 |D])dnl.i|nstall_s|
|00002040| 68 3d 24 7b 69 6e 73 74 | 61 6c 6c 5f 73 68 2d 22 |h=${inst|all_sh-"|
|00002050| 24 61 6d 5f 61 75 78 5f | 64 69 72 2f 69 6e 73 74 |$am_aux_|dir/inst|
|00002060| 61 6c 6c 2d 73 68 22 7d | 0a 41 43 5f 53 55 42 53 |all-sh"}|.AC_SUBS|
|00002070| 54 28 69 6e 73 74 61 6c | 6c 5f 73 68 29 5d 29 0a |T(instal|l_sh)]).|
|00002080| 0a 23 20 4f 6e 65 20 69 | 73 73 75 65 20 77 69 74 |.# One i|ssue wit|
|00002090| 68 20 76 65 6e 64 6f 72 | 20 60 69 6e 73 74 61 6c |h vendor| `instal|
|000020a0| 6c 27 20 28 65 76 65 6e | 20 47 4e 55 29 20 69 73 |l' (even| GNU) is|
|000020b0| 20 74 68 61 74 20 79 6f | 75 20 63 61 6e 27 74 0a | that yo|u can't.|
|000020c0| 23 20 73 70 65 63 69 66 | 79 20 74 68 65 20 70 72 |# specif|y the pr|
|000020d0| 6f 67 72 61 6d 20 75 73 | 65 64 20 74 6f 20 73 74 |ogram us|ed to st|
|000020e0| 72 69 70 20 62 69 6e 61 | 72 69 65 73 2e 20 20 54 |rip bina|ries. T|
|000020f0| 68 69 73 20 69 73 20 65 | 73 70 65 63 69 61 6c 6c |his is e|speciall|
|00002100| 79 0a 23 20 61 6e 6e 6f | 79 69 6e 67 20 69 6e 20 |y.# anno|ying in |
|00002110| 63 72 6f 73 73 2d 63 6f | 6d 70 69 6c 69 6e 67 20 |cross-co|mpiling |
|00002120| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 73 2c 20 77 68 |environm|ents, wh|
|00002130| 65 72 65 20 74 68 65 20 | 62 75 69 6c 64 27 73 20 |ere the |build's |
|00002140| 73 74 72 69 70 0a 23 20 | 69 73 20 75 6e 6c 69 6b |strip.# |is unlik|
|00002150| 65 6c 79 20 74 6f 20 68 | 61 6e 64 6c 65 20 74 68 |ely to h|andle th|
|00002160| 65 20 68 6f 73 74 27 73 | 20 62 69 6e 61 72 69 65 |e host's| binarie|
|00002170| 73 2e 0a 23 20 46 6f 72 | 74 75 6e 61 74 65 6c 79 |s..# For|tunately|
|00002180| 20 69 6e 73 74 61 6c 6c | 2d 73 68 20 77 69 6c 6c | install|-sh will|
|00002190| 20 68 6f 6e 6f 72 20 61 | 20 53 54 52 49 50 50 52 | honor a| STRIPPR|
|000021a0| 4f 47 20 76 61 72 69 61 | 62 6c 65 2c 20 73 6f 20 |OG varia|ble, so |
|000021b0| 77 65 0a 23 20 61 6c 77 | 61 79 73 20 75 73 65 20 |we.# alw|ays use |
|000021c0| 69 6e 73 74 61 6c 6c 2d | 73 68 20 69 6e 20 60 6d |install-|sh in `m|
|000021d0| 61 6b 65 20 69 6e 73 74 | 61 6c 6c 2d 73 74 72 69 |ake inst|all-stri|
|000021e0| 70 27 2c 20 61 6e 64 20 | 69 6e 69 74 69 61 6c 69 |p', and |initiali|
|000021f0| 7a 65 0a 23 20 53 54 52 | 49 50 50 52 4f 47 20 77 |ze.# STR|IPPROG w|
|00002200| 69 74 68 20 74 68 65 20 | 76 61 6c 75 65 20 6f 66 |ith the |value of|
|00002210| 20 74 68 65 20 53 54 52 | 49 50 20 76 61 72 69 61 | the STR|IP varia|
|00002220| 62 6c 65 20 28 73 65 74 | 20 62 79 20 74 68 65 20 |ble (set| by the |
|00002230| 75 73 65 72 29 2e 0a 41 | 43 5f 44 45 46 55 4e 28 |user)..A|C_DEFUN(|
|00002240| 5b 41 4d 5f 50 52 4f 47 | 5f 49 4e 53 54 41 4c 4c |[AM_PROG|_INSTALL|
|00002250| 5f 53 54 52 49 50 5d 2c | 0a 5b 41 43 5f 52 45 51 |_STRIP],|.[AC_REQ|
|00002260| 55 49 52 45 28 5b 41 4d | 5f 50 52 4f 47 5f 49 4e |UIRE([AM|_PROG_IN|
|00002270| 53 54 41 4c 4c 5f 53 48 | 5d 29 64 6e 6c 0a 49 4e |STALL_SH|])dnl.IN|
|00002280| 53 54 41 4c 4c 5f 53 54 | 52 49 50 5f 50 52 4f 47 |STALL_ST|RIP_PROG|
|00002290| 52 41 4d 3d 22 5c 24 7b | 53 48 45 4c 4c 7d 20 5c |RAM="\${|SHELL} \|
|000022a0| 24 28 69 6e 73 74 61 6c | 6c 5f 73 68 29 20 2d 63 |$(instal|l_sh) -c|
|000022b0| 20 2d 73 22 0a 41 43 5f | 53 55 42 53 54 28 5b 49 | -s".AC_|SUBST([I|
|000022c0| 4e 53 54 41 4c 4c 5f 53 | 54 52 49 50 5f 50 52 4f |NSTALL_S|TRIP_PRO|
|000022d0| 47 52 41 4d 5d 29 5d 29 | 0a 0a 23 20 73 65 72 69 |GRAM])])|..# seri|
|000022e0| 61 6c 20 34 09 09 09 09 | 09 09 2d 2a 2d 20 41 75 |al 4....|..-*- Au|
|000022f0| 74 6f 63 6f 6e 66 20 2d | 2a 2d 0a 0a 0a 0a 23 20 |toconf -|*-....# |
|00002300| 54 68 65 72 65 20 61 72 | 65 20 61 20 66 65 77 20 |There ar|e a few |
|00002310| 64 69 72 74 79 20 68 61 | 63 6b 73 20 62 65 6c 6f |dirty ha|cks belo|
|00002320| 77 20 74 6f 20 61 76 6f | 69 64 20 6c 65 74 74 69 |w to avo|id letti|
|00002330| 6e 67 20 60 41 43 5f 50 | 52 4f 47 5f 43 43 27 20 |ng `AC_P|ROG_CC' |
|00002340| 62 65 0a 23 20 77 72 69 | 74 74 65 6e 20 69 6e 20 |be.# wri|tten in |
|00002350| 63 6c 65 61 72 2c 20 69 | 6e 20 77 68 69 63 68 20 |clear, i|n which |
|00002360| 63 61 73 65 20 61 75 74 | 6f 6d 61 6b 65 2c 20 77 |case aut|omake, w|
|00002370| 68 65 6e 20 72 65 61 64 | 69 6e 67 20 61 63 6c 6f |hen read|ing aclo|
|00002380| 63 61 6c 2e 6d 34 2c 0a | 23 20 77 69 6c 6c 20 74 |cal.m4,.|# will t|
|00002390| 68 69 6e 6b 20 69 74 20 | 73 65 65 73 20 61 20 2a |hink it |sees a *|
|000023a0| 75 73 65 2a 2c 20 61 6e | 64 20 74 68 65 72 65 66 |use*, an|d theref|
|000023b0| 6f 72 65 20 77 69 6c 6c | 20 74 72 69 67 67 65 72 |ore will| trigger|
|000023c0| 20 61 6c 6c 20 69 74 27 | 73 0a 23 20 43 20 73 75 | all it'|s.# C su|
|000023d0| 70 70 6f 72 74 20 6d 61 | 63 68 69 6e 65 72 79 2e |pport ma|chinery.|
|000023e0| 20 20 41 6c 73 6f 20 6e | 6f 74 65 20 74 68 61 74 | Also n|ote that|
|000023f0| 20 69 74 20 6d 65 61 6e | 73 20 74 68 61 74 20 61 | it mean|s that a|
|00002400| 75 74 6f 73 63 61 6e 2c | 20 73 65 65 69 6e 67 0a |utoscan,| seeing.|
|00002410| 23 20 43 43 20 65 74 63 | 2e 20 69 6e 20 74 68 65 |# CC etc|. in the|
|00002420| 20 4d 61 6b 65 66 69 6c | 65 2c 20 77 69 6c 6c 20 | Makefil|e, will |
|00002430| 61 73 6b 20 66 6f 72 20 | 61 6e 20 41 43 5f 50 52 |ask for |an AC_PR|
|00002440| 4f 47 5f 43 43 20 75 73 | 65 2e 2e 2e 0a 0a 0a 0a |OG_CC us|e.......|
|00002450| 23 20 5f 41 4d 5f 44 45 | 50 45 4e 44 45 4e 43 49 |# _AM_DE|PENDENCI|
|00002460| 45 53 28 4e 41 4d 45 29 | 0a 23 20 2d 2d 2d 2d 2d |ES(NAME)|.# -----|
|00002470| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002480| 0a 23 20 53 65 65 20 68 | 6f 77 20 74 68 65 20 63 |.# See h|ow the c|
|00002490| 6f 6d 70 69 6c 65 72 20 | 69 6d 70 6c 65 6d 65 6e |ompiler |implemen|
|000024a0| 74 73 20 64 65 70 65 6e | 64 65 6e 63 79 20 63 68 |ts depen|dency ch|
|000024b0| 65 63 6b 69 6e 67 2e 0a | 23 20 4e 41 4d 45 20 69 |ecking..|# NAME i|
|000024c0| 73 20 22 43 43 22 2c 20 | 22 43 58 58 22 20 6f 72 |s "CC", |"CXX" or|
|000024d0| 20 22 4f 42 4a 43 22 2e | 0a 23 20 57 65 20 74 72 | "OBJC".|.# We tr|
|000024e0| 79 20 61 20 66 65 77 20 | 74 65 63 68 6e 69 71 75 |y a few |techniqu|
|000024f0| 65 73 20 61 6e 64 20 75 | 73 65 20 74 68 61 74 20 |es and u|se that |
|00002500| 74 6f 20 73 65 74 20 61 | 20 73 69 6e 67 6c 65 20 |to set a| single |
|00002510| 63 61 63 68 65 20 76 61 | 72 69 61 62 6c 65 2e 0a |cache va|riable..|
|00002520| 23 0a 23 20 57 65 20 64 | 6f 6e 27 74 20 41 43 5f |#.# We d|on't AC_|
|00002530| 52 45 51 55 49 52 45 20 | 74 68 65 20 63 6f 72 72 |REQUIRE |the corr|
|00002540| 65 73 70 6f 6e 64 69 6e | 67 20 41 43 5f 50 52 4f |espondin|g AC_PRO|
|00002550| 47 5f 43 43 20 73 69 6e | 63 65 20 74 68 65 20 6c |G_CC sin|ce the l|
|00002560| 61 74 74 65 72 20 77 61 | 73 0a 23 20 6d 6f 64 69 |atter wa|s.# modi|
|00002570| 66 69 65 64 20 74 6f 20 | 69 6e 76 6f 6b 65 20 5f |fied to |invoke _|
|00002580| 41 4d 5f 44 45 50 45 4e | 44 45 4e 43 49 45 53 28 |AM_DEPEN|DENCIES(|
|00002590| 43 43 29 3b 20 77 65 20 | 77 6f 75 6c 64 20 68 61 |CC); we |would ha|
|000025a0| 76 65 20 61 20 63 69 72 | 63 75 6c 61 72 0a 23 20 |ve a cir|cular.# |
|000025b0| 64 65 70 65 6e 64 65 6e | 63 79 2c 20 61 6e 64 20 |dependen|cy, and |
|000025c0| 67 69 76 65 6e 20 74 68 | 61 74 20 74 68 65 20 75 |given th|at the u|
|000025d0| 73 65 72 20 69 73 20 6e | 6f 74 20 65 78 70 65 63 |ser is n|ot expec|
|000025e0| 74 65 64 20 74 6f 20 72 | 75 6e 20 74 68 69 73 20 |ted to r|un this |
|000025f0| 6d 61 63 72 6f 2c 0a 23 | 20 6a 75 73 74 20 72 65 |macro,.#| just re|
|00002600| 6c 79 20 6f 6e 20 41 43 | 5f 50 52 4f 47 5f 43 43 |ly on AC|_PROG_CC|
|00002610| 2e 0a 41 43 5f 44 45 46 | 55 4e 28 5b 5f 41 4d 5f |..AC_DEF|UN([_AM_|
|00002620| 44 45 50 45 4e 44 45 4e | 43 49 45 53 5d 2c 0a 5b |DEPENDEN|CIES],.[|
|00002630| 41 43 5f 52 45 51 55 49 | 52 45 28 5b 41 4d 5f 53 |AC_REQUI|RE([AM_S|
|00002640| 45 54 5f 44 45 50 44 49 | 52 5d 29 64 6e 6c 0a 41 |ET_DEPDI|R])dnl.A|
|00002650| 43 5f 52 45 51 55 49 52 | 45 28 5b 41 4d 5f 4f 55 |C_REQUIR|E([AM_OU|
|00002660| 54 50 55 54 5f 44 45 50 | 45 4e 44 45 4e 43 59 5f |TPUT_DEP|ENDENCY_|
|00002670| 43 4f 4d 4d 41 4e 44 53 | 5d 29 64 6e 6c 0a 41 43 |COMMANDS|])dnl.AC|
|00002680| 5f 52 45 51 55 49 52 45 | 28 5b 41 4d 5f 4d 41 4b |_REQUIRE|([AM_MAK|
|00002690| 45 5f 49 4e 43 4c 55 44 | 45 5d 29 64 6e 6c 0a 41 |E_INCLUD|E])dnl.A|
|000026a0| 43 5f 52 45 51 55 49 52 | 45 28 5b 41 4d 5f 44 45 |C_REQUIR|E([AM_DE|
|000026b0| 50 5f 54 52 41 43 4b 5d | 29 64 6e 6c 0a 0a 69 66 |P_TRACK]|)dnl..if|
|000026c0| 65 6c 73 65 28 5b 24 31 | 5d 2c 20 43 43 2c 20 20 |else([$1|], CC, |
|000026d0| 20 5b 64 65 70 63 63 3d | 22 24 43 43 22 20 20 20 | [depcc=|"$CC" |
|000026e0| 61 6d 5f 63 6f 6d 70 69 | 6c 65 72 5f 6c 69 73 74 |am_compi|ler_list|
|000026f0| 3d 5d 2c 0a 20 20 20 20 | 20 20 20 5b 24 31 5d 2c |=],. | [$1],|
|00002700| 20 43 58 58 2c 20 20 5b | 64 65 70 63 63 3d 22 24 | CXX, [|depcc="$|
|00002710| 43 58 58 22 20 20 61 6d | 5f 63 6f 6d 70 69 6c 65 |CXX" am|_compile|
|00002720| 72 5f 6c 69 73 74 3d 5d | 2c 0a 20 20 20 20 20 20 |r_list=]|,. |
|00002730| 20 5b 24 31 5d 2c 20 4f | 42 4a 43 2c 20 5b 64 65 | [$1], O|BJC, [de|
|00002740| 70 63 63 3d 22 24 4f 42 | 4a 43 22 20 61 6d 5f 63 |pcc="$OB|JC" am_c|
|00002750| 6f 6d 70 69 6c 65 72 5f | 6c 69 73 74 3d 27 67 63 |ompiler_|list='gc|
|00002760| 63 33 20 67 63 63 27 5d | 0a 20 20 20 20 20 20 20 |c3 gcc']|. |
|00002770| 5b 24 31 5d 2c 20 47 43 | 4a 2c 20 20 5b 64 65 70 |[$1], GC|J, [dep|
|00002780| 63 63 3d 22 24 47 43 4a | 22 20 20 61 6d 5f 63 6f |cc="$GCJ|" am_co|
|00002790| 6d 70 69 6c 65 72 5f 6c | 69 73 74 3d 27 67 63 63 |mpiler_l|ist='gcc|
|000027a0| 33 20 67 63 63 27 5d 2c | 0a 20 20 20 20 20 20 20 |3 gcc'],|. |
|000027b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 5b 64 65 70 | | [dep|
|000027c0| 63 63 3d 22 24 24 31 22 | 20 20 20 61 6d 5f 63 6f |cc="$$1"| am_co|
|000027d0| 6d 70 69 6c 65 72 5f 6c | 69 73 74 3d 5d 29 0a 0a |mpiler_l|ist=])..|
|000027e0| 41 43 5f 43 41 43 48 45 | 5f 43 48 45 43 4b 28 5b |AC_CACHE|_CHECK([|
|000027f0| 64 65 70 65 6e 64 65 6e | 63 79 20 73 74 79 6c 65 |dependen|cy style|
|00002800| 20 6f 66 20 24 64 65 70 | 63 63 5d 2c 0a 20 20 20 | of $dep|cc],. |
|00002810| 20 20 20 20 20 20 20 20 | 20 20 20 20 5b 61 6d 5f | | [am_|
|00002820| 63 76 5f 24 31 5f 64 65 | 70 65 6e 64 65 6e 63 69 |cv_$1_de|pendenci|
|00002830| 65 73 5f 63 6f 6d 70 69 | 6c 65 72 5f 74 79 70 65 |es_compi|ler_type|
|00002840| 5d 2c 0a 5b 69 66 20 74 | 65 73 74 20 2d 7a 20 22 |],.[if t|est -z "|
|00002850| 24 41 4d 44 45 50 5f 54 | 52 55 45 22 20 26 26 20 |$AMDEP_T|RUE" && |
|00002860| 74 65 73 74 20 2d 66 20 | 22 24 61 6d 5f 64 65 70 |test -f |"$am_dep|
|00002870| 63 6f 6d 70 22 3b 20 74 | 68 65 6e 0a 20 20 23 20 |comp"; t|hen. # |
|00002880| 57 65 20 6d 61 6b 65 20 | 61 20 73 75 62 64 69 72 |We make |a subdir|
|00002890| 20 61 6e 64 20 64 6f 20 | 74 68 65 20 74 65 73 74 | and do |the test|
|000028a0| 73 20 74 68 65 72 65 2e | 20 20 4f 74 68 65 72 77 |s there.| Otherw|
|000028b0| 69 73 65 20 77 65 20 63 | 61 6e 20 65 6e 64 20 75 |ise we c|an end u|
|000028c0| 70 0a 20 20 23 20 6d 61 | 6b 69 6e 67 20 62 6f 67 |p. # ma|king bog|
|000028d0| 75 73 20 66 69 6c 65 73 | 20 74 68 61 74 20 77 65 |us files| that we|
|000028e0| 20 64 6f 6e 27 74 20 6b | 6e 6f 77 20 61 62 6f 75 | don't k|now abou|
|000028f0| 74 20 61 6e 64 20 6e 65 | 76 65 72 20 72 65 6d 6f |t and ne|ver remo|
|00002900| 76 65 2e 20 20 46 6f 72 | 0a 20 20 23 20 69 6e 73 |ve. For|. # ins|
|00002910| 74 61 6e 63 65 20 69 74 | 20 77 61 73 20 72 65 70 |tance it| was rep|
|00002920| 6f 72 74 65 64 20 74 68 | 61 74 20 6f 6e 20 48 50 |orted th|at on HP|
|00002930| 2d 55 58 20 74 68 65 20 | 67 63 63 20 74 65 73 74 |-UX the |gcc test|
|00002940| 20 77 69 6c 6c 20 65 6e | 64 20 75 70 0a 20 20 23 | will en|d up. #|
|00002950| 20 6d 61 6b 69 6e 67 20 | 61 20 64 75 6d 6d 79 20 | making |a dummy |
|00002960| 66 69 6c 65 20 6e 61 6d | 65 64 20 60 44 27 20 2d |file nam|ed `D' -|
|00002970| 2d 20 62 65 63 61 75 73 | 65 20 60 2d 4d 44 27 20 |- becaus|e `-MD' |
|00002980| 6d 65 61 6e 73 20 60 70 | 75 74 20 74 68 65 20 6f |means `p|ut the o|
|00002990| 75 74 70 75 74 0a 20 20 | 23 20 69 6e 20 44 27 2e |utput. |# in D'.|
|000029a0| 0a 20 20 6d 6b 64 69 72 | 20 63 6f 6e 66 74 65 73 |. mkdir| conftes|
|000029b0| 74 2e 64 69 72 0a 20 20 | 23 20 43 6f 70 79 20 64 |t.dir. |# Copy d|
|000029c0| 65 70 63 6f 6d 70 20 74 | 6f 20 73 75 62 64 69 72 |epcomp t|o subdir|
|000029d0| 20 62 65 63 61 75 73 65 | 20 6f 74 68 65 72 77 69 | because| otherwi|
|000029e0| 73 65 20 77 65 20 77 6f | 6e 27 74 20 66 69 6e 64 |se we wo|n't find|
|000029f0| 20 69 74 20 69 66 20 77 | 65 27 72 65 0a 20 20 23 | it if w|e're. #|
|00002a00| 20 75 73 69 6e 67 20 61 | 20 72 65 6c 61 74 69 76 | using a| relativ|
|00002a10| 65 20 64 69 72 65 63 74 | 6f 72 79 2e 0a 20 20 63 |e direct|ory.. c|
|00002a20| 70 20 22 24 61 6d 5f 64 | 65 70 63 6f 6d 70 22 20 |p "$am_d|epcomp" |
|00002a30| 63 6f 6e 66 74 65 73 74 | 2e 64 69 72 0a 20 20 63 |conftest|.dir. c|
|00002a40| 64 20 63 6f 6e 66 74 65 | 73 74 2e 64 69 72 0a 0a |d confte|st.dir..|
|00002a50| 20 20 61 6d 5f 63 76 5f | 24 31 5f 64 65 70 65 6e | am_cv_|$1_depen|
|00002a60| 64 65 6e 63 69 65 73 5f | 63 6f 6d 70 69 6c 65 72 |dencies_|compiler|
|00002a70| 5f 74 79 70 65 3d 6e 6f | 6e 65 0a 20 20 69 66 20 |_type=no|ne. if |
|00002a80| 74 65 73 74 20 22 24 61 | 6d 5f 63 6f 6d 70 69 6c |test "$a|m_compil|
|00002a90| 65 72 5f 6c 69 73 74 22 | 20 3d 20 22 22 3b 20 74 |er_list"| = ""; t|
|00002aa0| 68 65 6e 0a 20 20 20 20 | 20 61 6d 5f 63 6f 6d 70 |hen. | am_comp|
|00002ab0| 69 6c 65 72 5f 6c 69 73 | 74 3d 60 73 65 64 20 2d |iler_lis|t=`sed -|
|00002ac0| 6e 20 5b 27 73 2f 5e 23 | 2a 5c 28 5b 61 2d 7a 41 |n ['s/^#|*\([a-zA|
|00002ad0| 2d 5a 30 2d 39 5d 2a 5c | 29 29 24 2f 5c 31 2f 70 |-Z0-9]*\|))$/\1/p|
|00002ae0| 27 5d 20 3c 20 2e 2f 64 | 65 70 63 6f 6d 70 60 0a |'] < ./d|epcomp`.|
|00002af0| 20 20 66 69 0a 20 20 66 | 6f 72 20 64 65 70 6d 6f | fi. f|or depmo|
|00002b00| 64 65 20 69 6e 20 24 61 | 6d 5f 63 6f 6d 70 69 6c |de in $a|m_compil|
|00002b10| 65 72 5f 6c 69 73 74 3b | 20 64 6f 0a 20 20 20 20 |er_list;| do. |
|00002b20| 23 20 57 65 20 6e 65 65 | 64 20 74 6f 20 72 65 63 |# We nee|d to rec|
|00002b30| 72 65 61 74 65 20 74 68 | 65 73 65 20 66 69 6c 65 |reate th|ese file|
|00002b40| 73 20 66 6f 72 20 65 61 | 63 68 20 74 65 73 74 2c |s for ea|ch test,|
|00002b50| 20 61 73 20 74 68 65 20 | 63 6f 6d 70 69 6c 65 72 | as the |compiler|
|00002b60| 20 6d 61 79 0a 20 20 20 | 20 23 20 6f 76 65 72 77 | may. | # overw|
|00002b70| 72 69 74 65 20 73 6f 6d | 65 20 6f 66 20 74 68 65 |rite som|e of the|
|00002b80| 6d 20 77 68 65 6e 20 74 | 65 73 74 69 6e 67 20 77 |m when t|esting w|
|00002b90| 69 74 68 20 6f 62 73 63 | 75 72 65 20 63 6f 6d 6d |ith obsc|ure comm|
|00002ba0| 61 6e 64 20 6c 69 6e 65 | 73 2e 0a 20 20 20 20 23 |and line|s.. #|
|00002bb0| 20 54 68 69 73 20 68 61 | 70 70 65 6e 73 20 61 74 | This ha|ppens at|
|00002bc0| 20 6c 65 61 73 74 20 77 | 69 74 68 20 74 68 65 20 | least w|ith the |
|00002bd0| 41 49 58 20 43 20 63 6f | 6d 70 69 6c 65 72 2e 0a |AIX C co|mpiler..|
|00002be0| 20 20 20 20 65 63 68 6f | 20 27 23 69 6e 63 6c 75 | echo| '#inclu|
|00002bf0| 64 65 20 22 63 6f 6e 66 | 74 65 73 74 2e 68 22 27 |de "conf|test.h"'|
|00002c00| 20 3e 20 63 6f 6e 66 74 | 65 73 74 2e 63 0a 20 20 | > conft|est.c. |
|00002c10| 20 20 65 63 68 6f 20 27 | 69 6e 74 20 69 3b 27 20 | echo '|int i;' |
|00002c20| 3e 20 63 6f 6e 66 74 65 | 73 74 2e 68 0a 20 20 20 |> confte|st.h. |
|00002c30| 20 65 63 68 6f 20 22 24 | 7b 61 6d 5f 5f 69 6e 63 | echo "$|{am__inc|
|00002c40| 6c 75 64 65 7d 20 24 7b | 61 6d 5f 5f 71 75 6f 74 |lude} ${|am__quot|
|00002c50| 65 7d 63 6f 6e 66 74 65 | 73 74 2e 50 6f 24 7b 61 |e}confte|st.Po${a|
|00002c60| 6d 5f 5f 71 75 6f 74 65 | 7d 22 20 3e 20 63 6f 6e |m__quote|}" > con|
|00002c70| 66 6d 66 0a 0a 20 20 20 | 20 63 61 73 65 20 24 64 |fmf.. | case $d|
|00002c80| 65 70 6d 6f 64 65 20 69 | 6e 0a 20 20 20 20 6e 6f |epmode i|n. no|
|00002c90| 73 69 64 65 65 66 66 65 | 63 74 29 0a 20 20 20 20 |sideeffe|ct). |
|00002ca0| 20 20 23 20 61 66 74 65 | 72 20 74 68 69 73 20 74 | # afte|r this t|
|00002cb0| 61 67 2c 20 6d 65 63 68 | 61 6e 69 73 6d 73 20 61 |ag, mech|anisms a|
|00002cc0| 72 65 20 6e 6f 74 20 62 | 79 20 73 69 64 65 2d 65 |re not b|y side-e|
|00002cd0| 66 66 65 63 74 2c 20 73 | 6f 20 74 68 65 79 27 6c |ffect, s|o they'l|
|00002ce0| 6c 0a 20 20 20 20 20 20 | 23 20 6f 6e 6c 79 20 62 |l. |# only b|
|00002cf0| 65 20 75 73 65 64 20 77 | 68 65 6e 20 65 78 70 6c |e used w|hen expl|
|00002d00| 69 63 69 74 6c 79 20 72 | 65 71 75 65 73 74 65 64 |icitly r|equested|
|00002d10| 0a 20 20 20 20 20 20 69 | 66 20 74 65 73 74 20 22 |. i|f test "|
|00002d20| 78 24 65 6e 61 62 6c 65 | 5f 64 65 70 65 6e 64 65 |x$enable|_depende|
|00002d30| 6e 63 79 5f 74 72 61 63 | 6b 69 6e 67 22 20 3d 20 |ncy_trac|king" = |
|00002d40| 78 79 65 73 3b 20 74 68 | 65 6e 0a 09 63 6f 6e 74 |xyes; th|en..cont|
|00002d50| 69 6e 75 65 0a 20 20 20 | 20 20 20 65 6c 73 65 0a |inue. | else.|
|00002d60| 09 62 72 65 61 6b 0a 20 | 20 20 20 20 20 66 69 0a |.break. | fi.|
|00002d70| 20 20 20 20 20 20 3b 3b | 0a 20 20 20 20 6e 6f 6e | ;;|. non|
|00002d80| 65 29 20 62 72 65 61 6b | 20 3b 3b 0a 20 20 20 20 |e) break| ;;. |
|00002d90| 65 73 61 63 0a 20 20 20 | 20 23 20 57 65 20 63 68 |esac. | # We ch|
|00002da0| 65 63 6b 20 77 69 74 68 | 20 60 2d 63 27 20 61 6e |eck with| `-c' an|
|00002db0| 64 20 60 2d 6f 27 20 66 | 6f 72 20 74 68 65 20 73 |d `-o' f|or the s|
|00002dc0| 61 6b 65 20 6f 66 20 74 | 68 65 20 22 64 61 73 68 |ake of t|he "dash|
|00002dd0| 6d 73 74 64 6f 75 74 22 | 0a 20 20 20 20 23 20 6d |mstdout"|. # m|
|00002de0| 6f 64 65 2e 20 20 49 74 | 20 74 75 72 6e 73 20 6f |ode. It| turns o|
|00002df0| 75 74 20 74 68 61 74 20 | 74 68 65 20 53 75 6e 50 |ut that |the SunP|
|00002e00| 72 6f 20 43 2b 2b 20 63 | 6f 6d 70 69 6c 65 72 20 |ro C++ c|ompiler |
|00002e10| 64 6f 65 73 20 6e 6f 74 | 20 70 72 6f 70 65 72 6c |does not| properl|
|00002e20| 79 0a 20 20 20 20 23 20 | 68 61 6e 64 6c 65 20 60 |y. # |handle `|
|00002e30| 2d 4d 20 2d 6f 27 2c 20 | 61 6e 64 20 77 65 20 6e |-M -o', |and we n|
|00002e40| 65 65 64 20 74 6f 20 64 | 65 74 65 63 74 20 74 68 |eed to d|etect th|
|00002e50| 69 73 2e 0a 20 20 20 20 | 69 66 20 64 65 70 6d 6f |is.. |if depmo|
|00002e60| 64 65 3d 24 64 65 70 6d | 6f 64 65 20 5c 0a 20 20 |de=$depm|ode \. |
|00002e70| 20 20 20 20 20 73 6f 75 | 72 63 65 3d 63 6f 6e 66 | sou|rce=conf|
|00002e80| 74 65 73 74 2e 63 20 6f | 62 6a 65 63 74 3d 63 6f |test.c o|bject=co|
|00002e90| 6e 66 74 65 73 74 2e 6f | 20 5c 0a 20 20 20 20 20 |nftest.o| \. |
|00002ea0| 20 20 64 65 70 66 69 6c | 65 3d 63 6f 6e 66 74 65 | depfil|e=confte|
|00002eb0| 73 74 2e 50 6f 20 74 6d | 70 64 65 70 66 69 6c 65 |st.Po tm|pdepfile|
|00002ec0| 3d 63 6f 6e 66 74 65 73 | 74 2e 54 50 6f 20 5c 0a |=conftes|t.TPo \.|
|00002ed0| 20 20 20 20 20 20 20 24 | 53 48 45 4c 4c 20 2e 2f | $|SHELL ./|
|00002ee0| 64 65 70 63 6f 6d 70 20 | 24 64 65 70 63 63 20 2d |depcomp |$depcc -|
|00002ef0| 63 20 63 6f 6e 66 74 65 | 73 74 2e 63 20 2d 6f 20 |c confte|st.c -o |
|00002f00| 63 6f 6e 66 74 65 73 74 | 2e 6f 20 3e 2f 64 65 76 |conftest|.o >/dev|
|00002f10| 2f 6e 75 6c 6c 20 32 3e | 26 31 20 26 26 0a 20 20 |/null 2>|&1 &&. |
|00002f20| 20 20 20 20 20 67 72 65 | 70 20 63 6f 6e 66 74 65 | gre|p confte|
|00002f30| 73 74 2e 68 20 63 6f 6e | 66 74 65 73 74 2e 50 6f |st.h con|ftest.Po|
|00002f40| 20 3e 20 2f 64 65 76 2f | 6e 75 6c 6c 20 32 3e 26 | > /dev/|null 2>&|
|00002f50| 31 20 26 26 0a 20 20 20 | 20 20 20 20 24 7b 4d 41 |1 &&. | ${MA|
|00002f60| 4b 45 2d 6d 61 6b 65 7d | 20 2d 73 20 2d 66 20 63 |KE-make}| -s -f c|
|00002f70| 6f 6e 66 6d 66 20 3e 20 | 2f 64 65 76 2f 6e 75 6c |onfmf > |/dev/nul|
|00002f80| 6c 20 32 3e 26 31 3b 20 | 74 68 65 6e 0a 20 20 20 |l 2>&1; |then. |
|00002f90| 20 20 20 61 6d 5f 63 76 | 5f 24 31 5f 64 65 70 65 | am_cv|_$1_depe|
|00002fa0| 6e 64 65 6e 63 69 65 73 | 5f 63 6f 6d 70 69 6c 65 |ndencies|_compile|
|00002fb0| 72 5f 74 79 70 65 3d 24 | 64 65 70 6d 6f 64 65 0a |r_type=$|depmode.|
|00002fc0| 20 20 20 20 20 20 62 72 | 65 61 6b 0a 20 20 20 20 | br|eak. |
|00002fd0| 66 69 0a 20 20 64 6f 6e | 65 0a 0a 20 20 63 64 20 |fi. don|e.. cd |
|00002fe0| 2e 2e 0a 20 20 72 6d 20 | 2d 72 66 20 63 6f 6e 66 |... rm |-rf conf|
|00002ff0| 74 65 73 74 2e 64 69 72 | 0a 65 6c 73 65 0a 20 20 |test.dir|.else. |
|00003000| 61 6d 5f 63 76 5f 24 31 | 5f 64 65 70 65 6e 64 65 |am_cv_$1|_depende|
|00003010| 6e 63 69 65 73 5f 63 6f | 6d 70 69 6c 65 72 5f 74 |ncies_co|mpiler_t|
|00003020| 79 70 65 3d 6e 6f 6e 65 | 0a 66 69 0a 5d 29 0a 24 |ype=none|.fi.]).$|
|00003030| 31 44 45 50 4d 4f 44 45 | 3d 22 64 65 70 6d 6f 64 |1DEPMODE|="depmod|
|00003040| 65 3d 24 61 6d 5f 63 76 | 5f 24 31 5f 64 65 70 65 |e=$am_cv|_$1_depe|
|00003050| 6e 64 65 6e 63 69 65 73 | 5f 63 6f 6d 70 69 6c 65 |ndencies|_compile|
|00003060| 72 5f 74 79 70 65 22 0a | 41 43 5f 53 55 42 53 54 |r_type".|AC_SUBST|
|00003070| 28 5b 24 31 44 45 50 4d | 4f 44 45 5d 29 0a 5d 29 |([$1DEPM|ODE]).])|
|00003080| 0a 0a 0a 23 20 41 4d 5f | 53 45 54 5f 44 45 50 44 |...# AM_|SET_DEPD|
|00003090| 49 52 0a 23 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |IR.# ---|--------|
|000030a0| 2d 2d 0a 23 20 43 68 6f | 6f 73 65 20 61 20 64 69 |--.# Cho|ose a di|
|000030b0| 72 65 63 74 6f 72 79 20 | 6e 61 6d 65 20 66 6f 72 |rectory |name for|
|000030c0| 20 64 65 70 65 6e 64 65 | 6e 63 79 20 66 69 6c 65 | depende|ncy file|
|000030d0| 73 2e 0a 23 20 54 68 69 | 73 20 6d 61 63 72 6f 20 |s..# Thi|s macro |
|000030e0| 69 73 20 41 43 5f 52 45 | 51 55 49 52 45 64 20 69 |is AC_RE|QUIREd i|
|000030f0| 6e 20 5f 41 4d 5f 44 45 | 50 45 4e 44 45 4e 43 49 |n _AM_DE|PENDENCI|
|00003100| 45 53 0a 41 43 5f 44 45 | 46 55 4e 28 5b 41 4d 5f |ES.AC_DE|FUN([AM_|
|00003110| 53 45 54 5f 44 45 50 44 | 49 52 5d 2c 0a 5b 72 6d |SET_DEPD|IR],.[rm|
|00003120| 20 2d 66 20 2e 64 65 70 | 73 20 32 3e 2f 64 65 76 | -f .dep|s 2>/dev|
|00003130| 2f 6e 75 6c 6c 0a 6d 6b | 64 69 72 20 2e 64 65 70 |/null.mk|dir .dep|
|00003140| 73 20 32 3e 2f 64 65 76 | 2f 6e 75 6c 6c 0a 69 66 |s 2>/dev|/null.if|
|00003150| 20 74 65 73 74 20 2d 64 | 20 2e 64 65 70 73 3b 20 | test -d| .deps; |
|00003160| 74 68 65 6e 0a 20 20 44 | 45 50 44 49 52 3d 2e 64 |then. D|EPDIR=.d|
|00003170| 65 70 73 0a 65 6c 73 65 | 0a 20 20 23 20 4d 53 2d |eps.else|. # MS-|
|00003180| 44 4f 53 20 64 6f 65 73 | 20 6e 6f 74 20 61 6c 6c |DOS does| not all|
|00003190| 6f 77 20 66 69 6c 65 6e | 61 6d 65 73 20 74 68 61 |ow filen|ames tha|
|000031a0| 74 20 62 65 67 69 6e 20 | 77 69 74 68 20 61 20 64 |t begin |with a d|
|000031b0| 6f 74 2e 0a 20 20 44 45 | 50 44 49 52 3d 5f 64 65 |ot.. DE|PDIR=_de|
|000031c0| 70 73 0a 66 69 0a 72 6d | 64 69 72 20 2e 64 65 70 |ps.fi.rm|dir .dep|
|000031d0| 73 20 32 3e 2f 64 65 76 | 2f 6e 75 6c 6c 0a 41 43 |s 2>/dev|/null.AC|
|000031e0| 5f 53 55 42 53 54 28 44 | 45 50 44 49 52 29 0a 5d |_SUBST(D|EPDIR).]|
|000031f0| 29 0a 0a 0a 23 20 41 4d | 5f 44 45 50 5f 54 52 41 |)...# AM|_DEP_TRA|
|00003200| 43 4b 0a 23 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |CK.# ---|--------|
|00003210| 2d 0a 41 43 5f 44 45 46 | 55 4e 28 5b 41 4d 5f 44 |-.AC_DEF|UN([AM_D|
|00003220| 45 50 5f 54 52 41 43 4b | 5d 2c 0a 5b 41 43 5f 41 |EP_TRACK|],.[AC_A|
|00003230| 52 47 5f 45 4e 41 42 4c | 45 28 64 65 70 65 6e 64 |RG_ENABL|E(depend|
|00003240| 65 6e 63 79 2d 74 72 61 | 63 6b 69 6e 67 2c 0a 5b |ency-tra|cking,.[|
|00003250| 20 20 2d 2d 64 69 73 61 | 62 6c 65 2d 64 65 70 65 | --disa|ble-depe|
|00003260| 6e 64 65 6e 63 79 2d 74 | 72 61 63 6b 69 6e 67 20 |ndency-t|racking |
|00003270| 53 70 65 65 64 73 20 75 | 70 20 6f 6e 65 2d 74 69 |Speeds u|p one-ti|
|00003280| 6d 65 20 62 75 69 6c 64 | 73 0a 20 20 2d 2d 65 6e |me build|s. --en|
|00003290| 61 62 6c 65 2d 64 65 70 | 65 6e 64 65 6e 63 79 2d |able-dep|endency-|
|000032a0| 74 72 61 63 6b 69 6e 67 | 20 20 44 6f 20 6e 6f 74 |tracking| Do not|
|000032b0| 20 72 65 6a 65 63 74 20 | 73 6c 6f 77 20 64 65 70 | reject |slow dep|
|000032c0| 65 6e 64 65 6e 63 79 20 | 65 78 74 72 61 63 74 6f |endency |extracto|
|000032d0| 72 73 5d 29 0a 69 66 20 | 74 65 73 74 20 22 78 24 |rs]).if |test "x$|
|000032e0| 65 6e 61 62 6c 65 5f 64 | 65 70 65 6e 64 65 6e 63 |enable_d|ependenc|
|000032f0| 79 5f 74 72 61 63 6b 69 | 6e 67 22 20 21 3d 20 78 |y_tracki|ng" != x|
|00003300| 6e 6f 3b 20 74 68 65 6e | 0a 20 20 61 6d 5f 64 65 |no; then|. am_de|
|00003310| 70 63 6f 6d 70 3d 22 24 | 61 63 5f 61 75 78 5f 64 |pcomp="$|ac_aux_d|
|00003320| 69 72 2f 64 65 70 63 6f | 6d 70 22 0a 20 20 41 4d |ir/depco|mp". AM|
|00003330| 44 45 50 42 41 43 4b 53 | 4c 41 53 48 3d 27 5c 27 |DEPBACKS|LASH='\'|
|00003340| 0a 66 69 0a 41 4d 5f 43 | 4f 4e 44 49 54 49 4f 4e |.fi.AM_C|ONDITION|
|00003350| 41 4c 28 5b 41 4d 44 45 | 50 5d 2c 20 5b 74 65 73 |AL([AMDE|P], [tes|
|00003360| 74 20 22 78 24 65 6e 61 | 62 6c 65 5f 64 65 70 65 |t "x$ena|ble_depe|
|00003370| 6e 64 65 6e 63 79 5f 74 | 72 61 63 6b 69 6e 67 22 |ndency_t|racking"|
|00003380| 20 21 3d 20 78 6e 6f 5d | 29 0a 70 75 73 68 64 65 | != xno]|).pushde|
|00003390| 66 28 5b 73 75 62 73 74 | 5d 2c 20 64 65 66 6e 28 |f([subst|], defn(|
|000033a0| 5b 41 43 5f 53 55 42 53 | 54 5d 29 29 0a 73 75 62 |[AC_SUBS|T])).sub|
|000033b0| 73 74 28 41 4d 44 45 50 | 42 41 43 4b 53 4c 41 53 |st(AMDEP|BACKSLAS|
|000033c0| 48 29 0a 70 6f 70 64 65 | 66 28 5b 73 75 62 73 74 |H).popde|f([subst|
|000033d0| 5d 29 0a 5d 29 0a 0a 23 | 20 47 65 6e 65 72 61 74 |]).])..#| Generat|
|000033e0| 65 20 63 6f 64 65 20 74 | 6f 20 73 65 74 20 75 70 |e code t|o set up|
|000033f0| 20 64 65 70 65 6e 64 65 | 6e 63 79 20 74 72 61 63 | depende|ncy trac|
|00003400| 6b 69 6e 67 2e 0a 23 20 | 54 68 69 73 20 6d 61 63 |king..# |This mac|
|00003410| 72 6f 20 73 68 6f 75 6c | 64 20 6f 6e 6c 79 20 62 |ro shoul|d only b|
|00003420| 65 20 69 6e 76 6f 6b 65 | 64 20 6f 6e 63 65 20 2d |e invoke|d once -|
|00003430| 2d 20 75 73 65 20 76 69 | 61 20 41 43 5f 52 45 51 |- use vi|a AC_REQ|
|00003440| 55 49 52 45 2e 0a 23 20 | 55 73 61 67 65 3a 0a 23 |UIRE..# |Usage:.#|
|00003450| 20 41 4d 5f 4f 55 54 50 | 55 54 5f 44 45 50 45 4e | AM_OUTP|UT_DEPEN|
|00003460| 44 45 4e 43 59 5f 43 4f | 4d 4d 41 4e 44 53 0a 0a |DENCY_CO|MMANDS..|
|00003470| 23 0a 23 20 54 68 69 73 | 20 63 6f 64 65 20 69 73 |#.# This| code is|
|00003480| 20 6f 6e 6c 79 20 72 65 | 71 75 69 72 65 64 20 77 | only re|quired w|
|00003490| 68 65 6e 20 61 75 74 6f | 6d 61 74 69 63 20 64 65 |hen auto|matic de|
|000034a0| 70 65 6e 64 65 6e 63 79 | 20 74 72 61 63 6b 69 6e |pendency| trackin|
|000034b0| 67 0a 23 20 69 73 20 65 | 6e 61 62 6c 65 64 2e 20 |g.# is e|nabled. |
|000034c0| 20 46 49 58 4d 45 2e 20 | 20 54 68 69 73 20 63 72 | FIXME. | This cr|
|000034d0| 65 61 74 65 73 20 65 61 | 63 68 20 60 2e 50 27 20 |eates ea|ch `.P' |
|000034e0| 66 69 6c 65 20 74 68 61 | 74 20 77 65 20 77 69 6c |file tha|t we wil|
|000034f0| 6c 0a 23 20 6e 65 65 64 | 20 69 6e 20 6f 72 64 65 |l.# need| in orde|
|00003500| 72 20 74 6f 20 62 6f 6f | 74 73 74 72 61 70 20 74 |r to boo|tstrap t|
|00003510| 68 65 20 64 65 70 65 6e | 64 65 6e 63 79 20 68 61 |he depen|dency ha|
|00003520| 6e 64 6c 69 6e 67 20 63 | 6f 64 65 2e 0a 41 43 5f |ndling c|ode..AC_|
|00003530| 44 45 46 55 4e 28 5b 41 | 4d 5f 4f 55 54 50 55 54 |DEFUN([A|M_OUTPUT|
|00003540| 5f 44 45 50 45 4e 44 45 | 4e 43 59 5f 43 4f 4d 4d |_DEPENDE|NCY_COMM|
|00003550| 41 4e 44 53 5d 2c 5b 0a | 41 43 5f 4f 55 54 50 55 |ANDS],[.|AC_OUTPU|
|00003560| 54 5f 43 4f 4d 4d 41 4e | 44 53 28 5b 0a 74 65 73 |T_COMMAN|DS([.tes|
|00003570| 74 20 78 22 24 41 4d 44 | 45 50 5f 54 52 55 45 22 |t x"$AMD|EP_TRUE"|
|00003580| 20 21 3d 20 78 22 22 20 | 7c 7c 0a 66 6f 72 20 6d | != x"" |||.for m|
|00003590| 66 20 69 6e 20 24 43 4f | 4e 46 49 47 5f 46 49 4c |f in $CO|NFIG_FIL|
|000035a0| 45 53 3b 20 64 6f 0a 20 | 20 63 61 73 65 20 22 24 |ES; do. | case "$|
|000035b0| 6d 66 22 20 69 6e 0a 20 | 20 4d 61 6b 65 66 69 6c |mf" in. | Makefil|
|000035c0| 65 29 20 64 69 72 70 61 | 72 74 3d 2e 3b 3b 0a 20 |e) dirpa|rt=.;;. |
|000035d0| 20 2a 2f 4d 61 6b 65 66 | 69 6c 65 29 20 64 69 72 | */Makef|ile) dir|
|000035e0| 70 61 72 74 3d 60 65 63 | 68 6f 20 22 24 6d 66 22 |part=`ec|ho "$mf"|
|000035f0| 20 7c 20 73 65 64 20 2d | 65 20 27 73 7c 2f 5b 5e | | sed -|e 's|/[^|
|00003600| 2f 5d 2a 24 7c 7c 27 60 | 3b 3b 0a 20 20 2a 29 20 |/]*$||'`|;;. *) |
|00003610| 63 6f 6e 74 69 6e 75 65 | 3b 3b 0a 20 20 65 73 61 |continue|;;. esa|
|00003620| 63 0a 20 20 67 72 65 70 | 20 27 5e 44 45 50 5f 46 |c. grep| '^DEP_F|
|00003630| 49 4c 45 53 20 2a 3d 20 | 2a 5b 5e 20 23 5d 27 20 |ILES *= |*[^ #]' |
|00003640| 3c 20 22 24 6d 66 22 20 | 3e 20 2f 64 65 76 2f 6e |< "$mf" |> /dev/n|
|00003650| 75 6c 6c 20 7c 7c 20 63 | 6f 6e 74 69 6e 75 65 0a |ull || c|ontinue.|
|00003660| 20 20 23 20 45 78 74 72 | 61 63 74 20 74 68 65 20 | # Extr|act the |
|00003670| 64 65 66 69 6e 69 74 69 | 6f 6e 20 6f 66 20 44 45 |definiti|on of DE|
|00003680| 50 5f 46 49 4c 45 53 20 | 66 72 6f 6d 20 74 68 65 |P_FILES |from the|
|00003690| 20 4d 61 6b 65 66 69 6c | 65 20 77 69 74 68 6f 75 | Makefil|e withou|
|000036a0| 74 0a 20 20 23 20 72 75 | 6e 6e 69 6e 67 20 60 6d |t. # ru|nning `m|
|000036b0| 61 6b 65 27 2e 0a 20 20 | 44 45 50 44 49 52 3d 60 |ake'.. |DEPDIR=`|
|000036c0| 73 65 64 20 2d 6e 20 2d | 65 20 27 2f 5e 44 45 50 |sed -n -|e '/^DEP|
|000036d0| 44 49 52 20 3d 20 2f 20 | 73 2f 2f 2f 70 27 20 3c |DIR = / |s///p' <|
|000036e0| 20 22 24 6d 66 22 60 0a | 20 20 74 65 73 74 20 2d | "$mf"`.| test -|
|000036f0| 7a 20 22 24 44 45 50 44 | 49 52 22 20 26 26 20 63 |z "$DEPD|IR" && c|
|00003700| 6f 6e 74 69 6e 75 65 0a | 20 20 23 20 57 68 65 6e |ontinue.| # When|
|00003710| 20 75 73 69 6e 67 20 61 | 6e 73 69 32 6b 6e 72 2c | using a|nsi2knr,|
|00003720| 20 55 20 6d 61 79 20 62 | 65 20 65 6d 70 74 79 20 | U may b|e empty |
|00003730| 6f 72 20 61 6e 20 75 6e | 64 65 72 73 63 6f 72 65 |or an un|derscore|
|00003740| 3b 20 65 78 70 61 6e 64 | 20 69 74 0a 20 20 55 3d |; expand| it. U=|
|00003750| 60 73 65 64 20 2d 6e 20 | 2d 65 20 27 2f 5e 55 20 |`sed -n |-e '/^U |
|00003760| 3d 20 2f 20 73 2f 2f 2f | 70 27 20 3c 20 22 24 6d |= / s///|p' < "$m|
|00003770| 66 22 60 0a 20 20 74 65 | 73 74 20 2d 64 20 22 24 |f"`. te|st -d "$|
|00003780| 64 69 72 70 61 72 74 2f | 24 44 45 50 44 49 52 22 |dirpart/|$DEPDIR"|
|00003790| 20 7c 7c 20 6d 6b 64 69 | 72 20 22 24 64 69 72 70 | || mkdi|r "$dirp|
|000037a0| 61 72 74 2f 24 44 45 50 | 44 49 52 22 0a 20 20 23 |art/$DEP|DIR". #|
|000037b0| 20 57 65 20 69 6e 76 6f | 6b 65 20 73 65 64 20 74 | We invo|ke sed t|
|000037c0| 77 69 63 65 20 62 65 63 | 61 75 73 65 20 69 74 20 |wice bec|ause it |
|000037d0| 69 73 20 74 68 65 20 73 | 69 6d 70 6c 65 73 74 20 |is the s|implest |
|000037e0| 61 70 70 72 6f 61 63 68 | 20 74 6f 0a 20 20 23 20 |approach| to. # |
|000037f0| 63 68 61 6e 67 69 6e 67 | 20 24 28 44 45 50 44 49 |changing| $(DEPDI|
|00003800| 52 29 20 74 6f 20 69 74 | 73 20 61 63 74 75 61 6c |R) to it|s actual|
|00003810| 20 76 61 6c 75 65 20 69 | 6e 20 74 68 65 20 65 78 | value i|n the ex|
|00003820| 70 61 6e 73 69 6f 6e 2e | 0a 20 20 66 6f 72 20 66 |pansion.|. for f|
|00003830| 69 6c 65 20 69 6e 20 60 | 73 65 64 20 2d 6e 20 2d |ile in `|sed -n -|
|00003840| 65 20 27 0a 20 20 20 20 | 2f 5e 44 45 50 5f 46 49 |e '. |/^DEP_FI|
|00003850| 4c 45 53 20 3d 20 2e 2a | 5c 5c 5c 5c 24 2f 20 7b |LES = .*|\\\\$/ {|
|00003860| 0a 20 20 20 20 20 20 73 | 2f 5e 44 45 50 5f 46 49 |. s|/^DEP_FI|
|00003870| 4c 45 53 20 3d 20 2f 2f | 0a 20 20 20 20 20 20 3a |LES = //|. :|
|00003880| 6c 6f 6f 70 0a 09 73 2f | 5c 5c 5c 5c 24 2f 2f 0a |loop..s/|\\\\$//.|
|00003890| 09 70 0a 09 6e 0a 09 2f | 5c 5c 5c 5c 24 2f 20 62 |.p..n../|\\\\$/ b|
|000038a0| 20 6c 6f 6f 70 0a 20 20 | 20 20 20 20 70 0a 20 20 | loop. | p. |
|000038b0| 20 20 7d 0a 20 20 20 20 | 2f 5e 44 45 50 5f 46 49 | }. |/^DEP_FI|
|000038c0| 4c 45 53 20 3d 20 2f 20 | 73 2f 5e 44 45 50 5f 46 |LES = / |s/^DEP_F|
|000038d0| 49 4c 45 53 20 3d 20 2f | 2f 70 27 20 3c 20 22 24 |ILES = /|/p' < "$|
|000038e0| 6d 66 22 20 7c 20 5c 0a | 20 20 20 20 20 20 20 73 |mf" | \.| s|
|000038f0| 65 64 20 2d 65 20 27 73 | 2f 5c 24 28 44 45 50 44 |ed -e 's|/\$(DEPD|
|00003900| 49 52 29 2f 27 22 24 44 | 45 50 44 49 52 22 27 2f |IR)/'"$D|EPDIR"'/|
|00003910| 67 27 20 2d 65 20 27 73 | 2f 5c 24 55 2f 27 22 24 |g' -e 's|/\$U/'"$|
|00003920| 55 22 27 2f 67 27 60 3b | 20 64 6f 0a 20 20 20 20 |U"'/g'`;| do. |
|00003930| 23 20 4d 61 6b 65 20 73 | 75 72 65 20 74 68 65 20 |# Make s|ure the |
|00003940| 64 69 72 65 63 74 6f 72 | 79 20 65 78 69 73 74 73 |director|y exists|
|00003950| 2e 0a 20 20 20 20 74 65 | 73 74 20 2d 66 20 22 24 |.. te|st -f "$|
|00003960| 64 69 72 70 61 72 74 2f | 24 66 69 6c 65 22 20 26 |dirpart/|$file" &|
|00003970| 26 20 63 6f 6e 74 69 6e | 75 65 0a 20 20 20 20 66 |& contin|ue. f|
|00003980| 64 69 72 3d 60 65 63 68 | 6f 20 22 24 66 69 6c 65 |dir=`ech|o "$file|
|00003990| 22 20 7c 20 73 65 64 20 | 2d 65 20 27 73 7c 2f 5b |" | sed |-e 's|/[|
|000039a0| 5e 2f 5d 2a 24 7c 7c 27 | 60 0a 20 20 20 20 24 61 |^/]*$||'|`. $a|
|000039b0| 63 5f 61 75 78 5f 64 69 | 72 2f 6d 6b 69 6e 73 74 |c_aux_di|r/mkinst|
|000039c0| 61 6c 6c 64 69 72 73 20 | 22 24 64 69 72 70 61 72 |alldirs |"$dirpar|
|000039d0| 74 2f 24 66 64 69 72 22 | 20 3e 20 2f 64 65 76 2f |t/$fdir"| > /dev/|
|000039e0| 6e 75 6c 6c 20 32 3e 26 | 31 0a 20 20 20 20 23 20 |null 2>&|1. # |
|000039f0| 65 63 68 6f 20 22 63 72 | 65 61 74 69 6e 67 20 24 |echo "cr|eating $|
|00003a00| 64 69 72 70 61 72 74 2f | 24 66 69 6c 65 22 0a 20 |dirpart/|$file". |
|00003a10| 20 20 20 65 63 68 6f 20 | 27 23 20 64 75 6d 6d 79 | echo |'# dummy|
|00003a20| 27 20 3e 20 22 24 64 69 | 72 70 61 72 74 2f 24 66 |' > "$di|rpart/$f|
|00003a30| 69 6c 65 22 0a 20 20 64 | 6f 6e 65 0a 64 6f 6e 65 |ile". d|one.done|
|00003a40| 0a 5d 2c 20 5b 41 4d 44 | 45 50 5f 54 52 55 45 3d |.], [AMD|EP_TRUE=|
|00003a50| 22 24 41 4d 44 45 50 5f | 54 52 55 45 22 0a 61 63 |"$AMDEP_|TRUE".ac|
|00003a60| 5f 61 75 78 5f 64 69 72 | 3d 22 24 61 63 5f 61 75 |_aux_dir|="$ac_au|
|00003a70| 78 5f 64 69 72 22 5d 29 | 5d 29 0a 0a 23 20 41 4d |x_dir"])|])..# AM|
|00003a80| 5f 4d 41 4b 45 5f 49 4e | 43 4c 55 44 45 28 29 0a |_MAKE_IN|CLUDE().|
|00003a90| 23 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |# ------|--------|
|00003aa0| 2d 2d 2d 0a 23 20 43 68 | 65 63 6b 20 74 6f 20 73 |---.# Ch|eck to s|
|00003ab0| 65 65 20 68 6f 77 20 6d | 61 6b 65 20 74 72 65 61 |ee how m|ake trea|
|00003ac0| 74 73 20 69 6e 63 6c 75 | 64 65 73 2e 0a 41 43 5f |ts inclu|des..AC_|
|00003ad0| 44 45 46 55 4e 28 5b 41 | 4d 5f 4d 41 4b 45 5f 49 |DEFUN([A|M_MAKE_I|
|00003ae0| 4e 43 4c 55 44 45 5d 2c | 0a 5b 61 6d 5f 6d 61 6b |NCLUDE],|.[am_mak|
|00003af0| 65 3d 24 7b 4d 41 4b 45 | 2d 6d 61 6b 65 7d 0a 63 |e=${MAKE|-make}.c|
|00003b00| 61 74 20 3e 20 63 6f 6e | 66 69 6e 63 20 3c 3c 20 |at > con|finc << |
|00003b10| 27 45 4e 44 27 0a 64 6f | 69 74 3a 0a 09 40 65 63 |'END'.do|it:..@ec|
|00003b20| 68 6f 20 64 6f 6e 65 0a | 45 4e 44 0a 23 20 49 66 |ho done.|END.# If|
|00003b30| 20 77 65 20 64 6f 6e 27 | 74 20 66 69 6e 64 20 61 | we don'|t find a|
|00003b40| 6e 20 69 6e 63 6c 75 64 | 65 20 64 69 72 65 63 74 |n includ|e direct|
|00003b50| 69 76 65 2c 20 6a 75 73 | 74 20 63 6f 6d 6d 65 6e |ive, jus|t commen|
|00003b60| 74 20 6f 75 74 20 74 68 | 65 20 63 6f 64 65 2e 0a |t out th|e code..|
|00003b70| 41 43 5f 4d 53 47 5f 43 | 48 45 43 4b 49 4e 47 28 |AC_MSG_C|HECKING(|
|00003b80| 5b 66 6f 72 20 73 74 79 | 6c 65 20 6f 66 20 69 6e |[for sty|le of in|
|00003b90| 63 6c 75 64 65 20 75 73 | 65 64 20 62 79 20 24 61 |clude us|ed by $a|
|00003ba0| 6d 5f 6d 61 6b 65 5d 29 | 0a 61 6d 5f 5f 69 6e 63 |m_make])|.am__inc|
|00003bb0| 6c 75 64 65 3d 27 23 27 | 0a 61 6d 5f 5f 71 75 6f |lude='#'|.am__quo|
|00003bc0| 74 65 3d 0a 5f 61 6d 5f | 72 65 73 75 6c 74 3d 6e |te=._am_|result=n|
|00003bd0| 6f 6e 65 0a 23 20 46 69 | 72 73 74 20 74 72 79 20 |one.# Fi|rst try |
|00003be0| 47 4e 55 20 6d 61 6b 65 | 20 73 74 79 6c 65 20 69 |GNU make| style i|
|00003bf0| 6e 63 6c 75 64 65 2e 0a | 65 63 68 6f 20 22 69 6e |nclude..|echo "in|
|00003c00| 63 6c 75 64 65 20 63 6f | 6e 66 69 6e 63 22 20 3e |clude co|nfinc" >|
|00003c10| 20 63 6f 6e 66 6d 66 0a | 23 20 57 65 20 67 72 65 | confmf.|# We gre|
|00003c20| 70 20 6f 75 74 20 60 45 | 6e 74 65 72 69 6e 67 20 |p out `E|ntering |
|00003c30| 64 69 72 65 63 74 6f 72 | 79 27 20 61 6e 64 20 60 |director|y' and `|
|00003c40| 4c 65 61 76 69 6e 67 20 | 64 69 72 65 63 74 6f 72 |Leaving |director|
|00003c50| 79 27 0a 23 20 6d 65 73 | 73 61 67 65 73 20 77 68 |y'.# mes|sages wh|
|00003c60| 69 63 68 20 63 61 6e 20 | 6f 63 63 75 72 20 69 66 |ich can |occur if|
|00003c70| 20 60 77 27 20 65 6e 64 | 73 20 75 70 20 69 6e 20 | `w' end|s up in |
|00003c80| 4d 41 4b 45 46 4c 41 47 | 53 2e 0a 23 20 49 6e 20 |MAKEFLAG|S..# In |
|00003c90| 70 61 72 74 69 63 75 6c | 61 72 20 77 65 20 64 6f |particul|ar we do|
|00003ca0| 6e 27 74 20 6c 6f 6f 6b | 20 61 74 20 60 5e 6d 61 |n't look| at `^ma|
|00003cb0| 6b 65 3a 27 20 62 65 63 | 61 75 73 65 20 47 4e 55 |ke:' bec|ause GNU|
|00003cc0| 20 6d 61 6b 65 20 6d 69 | 67 68 74 0a 23 20 62 65 | make mi|ght.# be|
|00003cd0| 20 69 6e 76 6f 6b 65 64 | 20 75 6e 64 65 72 20 73 | invoked| under s|
|00003ce0| 6f 6d 65 20 6f 74 68 65 | 72 20 6e 61 6d 65 20 28 |ome othe|r name (|
|00003cf0| 75 73 75 61 6c 6c 79 20 | 22 67 6d 61 6b 65 22 29 |usually |"gmake")|
|00003d00| 2c 20 69 6e 20 77 68 69 | 63 68 0a 23 20 63 61 73 |, in whi|ch.# cas|
|00003d10| 65 20 69 74 20 70 72 69 | 6e 74 73 20 69 74 73 20 |e it pri|nts its |
|00003d20| 6e 65 77 20 6e 61 6d 65 | 20 69 6e 73 74 65 61 64 |new name| instead|
|00003d30| 20 6f 66 20 60 6d 61 6b | 65 27 2e 0a 69 66 20 74 | of `mak|e'..if t|
|00003d40| 65 73 74 20 22 60 24 61 | 6d 5f 6d 61 6b 65 20 2d |est "`$a|m_make -|
|00003d50| 73 20 2d 66 20 63 6f 6e | 66 6d 66 20 32 3e 20 2f |s -f con|fmf 2> /|
|00003d60| 64 65 76 2f 6e 75 6c 6c | 20 7c 20 66 67 72 65 70 |dev/null| | fgrep|
|00003d70| 20 2d 76 20 27 69 6e 67 | 20 64 69 72 65 63 74 6f | -v 'ing| directo|
|00003d80| 72 79 27 60 22 20 3d 20 | 22 64 6f 6e 65 22 3b 20 |ry'`" = |"done"; |
|00003d90| 74 68 65 6e 0a 20 20 20 | 61 6d 5f 5f 69 6e 63 6c |then. |am__incl|
|00003da0| 75 64 65 3d 69 6e 63 6c | 75 64 65 0a 20 20 20 61 |ude=incl|ude. a|
|00003db0| 6d 5f 5f 71 75 6f 74 65 | 3d 0a 20 20 20 5f 61 6d |m__quote|=. _am|
|00003dc0| 5f 72 65 73 75 6c 74 3d | 47 4e 55 0a 66 69 0a 23 |_result=|GNU.fi.#|
|00003dd0| 20 4e 6f 77 20 74 72 79 | 20 42 53 44 20 6d 61 6b | Now try| BSD mak|
|00003de0| 65 20 73 74 79 6c 65 20 | 69 6e 63 6c 75 64 65 2e |e style |include.|
|00003df0| 0a 69 66 20 74 65 73 74 | 20 22 24 61 6d 5f 5f 69 |.if test| "$am__i|
|00003e00| 6e 63 6c 75 64 65 22 20 | 3d 20 22 23 22 3b 20 74 |nclude" |= "#"; t|
|00003e10| 68 65 6e 0a 20 20 20 65 | 63 68 6f 20 27 2e 69 6e |hen. e|cho '.in|
|00003e20| 63 6c 75 64 65 20 22 63 | 6f 6e 66 69 6e 63 22 27 |clude "c|onfinc"'|
|00003e30| 20 3e 20 63 6f 6e 66 6d | 66 0a 20 20 20 69 66 20 | > confm|f. if |
|00003e40| 74 65 73 74 20 22 60 24 | 61 6d 5f 6d 61 6b 65 20 |test "`$|am_make |
|00003e50| 2d 73 20 2d 66 20 63 6f | 6e 66 6d 66 20 32 3e 20 |-s -f co|nfmf 2> |
|00003e60| 2f 64 65 76 2f 6e 75 6c | 6c 60 22 20 3d 20 22 64 |/dev/nul|l`" = "d|
|00003e70| 6f 6e 65 22 3b 20 74 68 | 65 6e 0a 20 20 20 20 20 |one"; th|en. |
|00003e80| 20 61 6d 5f 5f 69 6e 63 | 6c 75 64 65 3d 2e 69 6e | am__inc|lude=.in|
|00003e90| 63 6c 75 64 65 0a 20 20 | 20 20 20 20 61 6d 5f 5f |clude. | am__|
|00003ea0| 71 75 6f 74 65 3d 27 22 | 27 0a 20 20 20 20 20 20 |quote='"|'. |
|00003eb0| 5f 61 6d 5f 72 65 73 75 | 6c 74 3d 42 53 44 0a 20 |_am_resu|lt=BSD. |
|00003ec0| 20 20 66 69 0a 66 69 0a | 41 43 5f 53 55 42 53 54 | fi.fi.|AC_SUBST|
|00003ed0| 28 61 6d 5f 5f 69 6e 63 | 6c 75 64 65 29 0a 41 43 |(am__inc|lude).AC|
|00003ee0| 5f 53 55 42 53 54 28 61 | 6d 5f 5f 71 75 6f 74 65 |_SUBST(a|m__quote|
|00003ef0| 29 0a 41 43 5f 4d 53 47 | 5f 52 45 53 55 4c 54 28 |).AC_MSG|_RESULT(|
|00003f00| 24 5f 61 6d 5f 72 65 73 | 75 6c 74 29 0a 72 6d 20 |$_am_res|ult).rm |
|00003f10| 2d 66 20 63 6f 6e 66 69 | 6e 63 20 63 6f 6e 66 6d |-f confi|nc confm|
|00003f20| 66 0a 5d 29 0a 0a 23 20 | 73 65 72 69 61 6c 20 33 |f.])..# |serial 3|
|00003f30| 0a 0a 23 20 41 4d 5f 43 | 4f 4e 44 49 54 49 4f 4e |..# AM_C|ONDITION|
|00003f40| 41 4c 28 4e 41 4d 45 2c | 20 53 48 45 4c 4c 2d 43 |AL(NAME,| SHELL-C|
|00003f50| 4f 4e 44 49 54 49 4f 4e | 29 0a 23 20 2d 2d 2d 2d |ONDITION|).# ----|
|00003f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003f80| 2d 0a 23 20 44 65 66 69 | 6e 65 20 61 20 63 6f 6e |-.# Defi|ne a con|
|00003f90| 64 69 74 69 6f 6e 61 6c | 2e 0a 23 0a 23 20 46 49 |ditional|..#.# FI|
|00003fa0| 58 4d 45 3a 20 4f 6e 63 | 65 20 75 73 69 6e 67 20 |XME: Onc|e using |
|00003fb0| 32 2e 35 30 2c 20 75 73 | 65 20 74 68 69 73 3a 0a |2.50, us|e this:.|
|00003fc0| 23 20 6d 34 5f 6d 61 74 | 63 68 28 5b 24 31 5d 2c |# m4_mat|ch([$1],|
|00003fd0| 20 5b 5e 54 52 55 45 5c | 7c 46 41 4c 53 45 24 5d | [^TRUE\||FALSE$]|
|00003fe0| 2c 20 5b 41 43 5f 46 41 | 54 41 4c 28 5b 24 30 3a |, [AC_FA|TAL([$0:|
|00003ff0| 20 69 6e 76 61 6c 69 64 | 20 63 6f 6e 64 69 74 69 | invalid| conditi|
|00004000| 6f 6e 3a 20 24 31 5d 29 | 5d 29 64 6e 6c 0a 41 43 |on: $1])|])dnl.AC|
|00004010| 5f 44 45 46 55 4e 28 5b | 41 4d 5f 43 4f 4e 44 49 |_DEFUN([|AM_CONDI|
|00004020| 54 49 4f 4e 41 4c 5d 2c | 0a 5b 69 66 65 6c 73 65 |TIONAL],|.[ifelse|
|00004030| 28 5b 24 31 5d 2c 20 5b | 54 52 55 45 5d 2c 0a 20 |([$1], [|TRUE],. |
|00004040| 20 20 20 20 20 20 20 5b | 65 72 72 70 72 69 6e 74 | [|errprint|
|00004050| 28 5f 5f 66 69 6c 65 5f | 5f 3a 5f 5f 6c 69 6e 65 |(__file_|_:__line|
|00004060| 5f 5f 3a 20 5b 24 30 3a | 20 69 6e 76 61 6c 69 64 |__: [$0:| invalid|
|00004070| 20 63 6f 6e 64 69 74 69 | 6f 6e 3a 20 24 31 0a 5d | conditi|on: $1.]|
|00004080| 29 64 6e 6c 0a 6d 34 65 | 78 69 74 28 31 29 5d 29 |)dnl.m4e|xit(1)])|
|00004090| 64 6e 6c 0a 69 66 65 6c | 73 65 28 5b 24 31 5d 2c |dnl.ifel|se([$1],|
|000040a0| 20 5b 46 41 4c 53 45 5d | 2c 0a 20 20 20 20 20 20 | [FALSE]|,. |
|000040b0| 20 5b 65 72 72 70 72 69 | 6e 74 28 5f 5f 66 69 6c | [errpri|nt(__fil|
|000040c0| 65 5f 5f 3a 5f 5f 6c 69 | 6e 65 5f 5f 3a 20 5b 24 |e__:__li|ne__: [$|
|000040d0| 30 3a 20 69 6e 76 61 6c | 69 64 20 63 6f 6e 64 69 |0: inval|id condi|
|000040e0| 74 69 6f 6e 3a 20 24 31 | 0a 5d 29 64 6e 6c 0a 6d |tion: $1|.])dnl.m|
|000040f0| 34 65 78 69 74 28 31 29 | 5d 29 64 6e 6c 0a 41 43 |4exit(1)|])dnl.AC|
|00004100| 5f 53 55 42 53 54 28 5b | 24 31 5f 54 52 55 45 5d |_SUBST([|$1_TRUE]|
|00004110| 29 0a 41 43 5f 53 55 42 | 53 54 28 5b 24 31 5f 46 |).AC_SUB|ST([$1_F|
|00004120| 41 4c 53 45 5d 29 0a 69 | 66 20 24 32 3b 20 74 68 |ALSE]).i|f $2; th|
|00004130| 65 6e 0a 20 20 24 31 5f | 54 52 55 45 3d 0a 20 20 |en. $1_|TRUE=. |
|00004140| 24 31 5f 46 41 4c 53 45 | 3d 27 23 27 0a 65 6c 73 |$1_FALSE|='#'.els|
|00004150| 65 0a 20 20 24 31 5f 54 | 52 55 45 3d 27 23 27 0a |e. $1_T|RUE='#'.|
|00004160| 20 20 24 31 5f 46 41 4c | 53 45 3d 0a 66 69 5d 29 | $1_FAL|SE=.fi])|
|00004170| 0a 0a 23 20 4c 69 6b 65 | 20 41 43 5f 43 4f 4e 46 |..# Like| AC_CONF|
|00004180| 49 47 5f 48 45 41 44 45 | 52 2c 20 62 75 74 20 61 |IG_HEADE|R, but a|
|00004190| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 63 72 65 |utomatic|ally cre|
|000041a0| 61 74 65 20 73 74 61 6d | 70 20 66 69 6c 65 2e 0a |ate stam|p file..|
|000041b0| 0a 23 20 73 65 72 69 61 | 6c 20 33 0a 0a 23 20 57 |.# seria|l 3..# W|
|000041c0| 68 65 6e 20 63 6f 6e 66 | 69 67 2e 73 74 61 74 75 |hen conf|ig.statu|
|000041d0| 73 20 67 65 6e 65 72 61 | 74 65 73 20 61 20 68 65 |s genera|tes a he|
|000041e0| 61 64 65 72 2c 20 77 65 | 20 6d 75 73 74 20 75 70 |ader, we| must up|
|000041f0| 64 61 74 65 20 74 68 65 | 20 73 74 61 6d 70 2d 68 |date the| stamp-h|
|00004200| 20 66 69 6c 65 2e 0a 23 | 20 54 68 69 73 20 66 69 | file..#| This fi|
|00004210| 6c 65 20 72 65 73 69 64 | 65 73 20 69 6e 20 74 68 |le resid|es in th|
|00004220| 65 20 73 61 6d 65 20 64 | 69 72 65 63 74 6f 72 79 |e same d|irectory|
|00004230| 20 61 73 20 74 68 65 20 | 63 6f 6e 66 69 67 20 68 | as the |config h|
|00004240| 65 61 64 65 72 0a 23 20 | 74 68 61 74 20 69 73 20 |eader.# |that is |
|00004250| 67 65 6e 65 72 61 74 65 | 64 2e 20 20 57 65 20 6d |generate|d. We m|
|00004260| 75 73 74 20 73 74 72 69 | 70 20 65 76 65 72 79 74 |ust stri|p everyt|
|00004270| 68 69 6e 67 20 70 61 73 | 74 20 74 68 65 20 66 69 |hing pas|t the fi|
|00004280| 72 73 74 20 22 3a 22 2c | 0a 23 20 61 6e 64 20 65 |rst ":",|.# and e|
|00004290| 76 65 72 79 74 68 69 6e | 67 20 70 61 73 74 20 74 |verythin|g past t|
|000042a0| 68 65 20 6c 61 73 74 20 | 22 2f 22 2e 0a 0a 41 43 |he last |"/"...AC|
|000042b0| 5f 50 52 45 52 45 51 28 | 5b 32 2e 31 32 5d 29 0a |_PREREQ(|[2.12]).|
|000042c0| 0a 41 43 5f 44 45 46 55 | 4e 28 5b 41 4d 5f 43 4f |.AC_DEFU|N([AM_CO|
|000042d0| 4e 46 49 47 5f 48 45 41 | 44 45 52 5d 2c 0a 5b 69 |NFIG_HEA|DER],.[i|
|000042e0| 66 64 65 66 28 5b 41 43 | 5f 46 4f 52 45 41 43 48 |fdef([AC|_FOREACH|
|000042f0| 5d 2c 64 6e 6c 0a 09 20 | 5b 64 6e 6c 20 69 6e 69 |],dnl.. |[dnl ini|
|00004300| 74 20 6f 75 72 20 66 69 | 6c 65 20 63 6f 75 6e 74 |t our fi|le count|
|00004310| 20 69 66 20 69 74 20 69 | 73 6e 27 74 20 61 6c 72 | if it i|sn't alr|
|00004320| 65 61 64 79 0a 09 20 6d | 34 5f 69 66 6e 64 65 66 |eady.. m|4_ifndef|
|00004330| 28 5b 5f 41 4d 5f 43 6f | 6e 66 69 67 5f 48 65 61 |([_AM_Co|nfig_Hea|
|00004340| 64 65 72 5f 49 6e 64 65 | 78 5d 2c 20 6d 34 5f 64 |der_Inde|x], m4_d|
|00004350| 65 66 69 6e 65 28 5b 5f | 41 4d 5f 43 6f 6e 66 69 |efine([_|AM_Confi|
|00004360| 67 5f 48 65 61 64 65 72 | 5f 49 6e 64 65 78 5d 2c |g_Header|_Index],|
|00004370| 20 5b 30 5d 29 29 0a 09 | 20 64 6e 6c 20 70 72 65 | [0]))..| dnl pre|
|00004380| 70 61 72 65 20 74 6f 20 | 73 74 6f 72 65 20 6f 75 |pare to |store ou|
|00004390| 72 20 64 65 73 74 69 6e | 61 74 69 6f 6e 20 66 69 |r destin|ation fi|
|000043a0| 6c 65 20 6c 69 73 74 20 | 66 6f 72 20 75 73 65 20 |le list |for use |
|000043b0| 69 6e 20 63 6f 6e 66 69 | 67 2e 73 74 61 74 75 73 |in confi|g.status|
|000043c0| 0a 09 20 41 43 5f 46 4f | 52 45 41 43 48 28 5b 5f |.. AC_FO|REACH([_|
|000043d0| 41 4d 5f 46 69 6c 65 5d | 2c 20 5b 24 31 5d 2c 0a |AM_File]|, [$1],.|
|000043e0| 09 09 20 20 20 20 5b 6d | 34 5f 70 75 73 68 64 65 |.. [m|4_pushde|
|000043f0| 66 28 5b 5f 41 4d 5f 44 | 65 73 74 5d 2c 20 6d 34 |f([_AM_D|est], m4|
|00004400| 5f 70 61 74 73 75 62 73 | 74 28 5f 41 4d 5f 46 69 |_patsubs|t(_AM_Fi|
|00004410| 6c 65 2c 20 5b 3a 2e 2a | 5d 29 29 0a 09 09 20 20 |le, [:.*|]))... |
|00004420| 20 20 6d 34 5f 64 65 66 | 69 6e 65 28 5b 5f 41 4d | m4_def|ine([_AM|
|00004430| 5f 43 6f 6e 66 69 67 5f | 48 65 61 64 65 72 5f 49 |_Config_|Header_I|
|00004440| 6e 64 65 78 5d 2c 20 6d | 34 5f 69 6e 63 72 28 5f |ndex], m|4_incr(_|
|00004450| 41 4d 5f 43 6f 6e 66 69 | 67 5f 48 65 61 64 65 72 |AM_Confi|g_Header|
|00004460| 5f 49 6e 64 65 78 29 29 | 0a 09 09 20 20 20 20 64 |_Index))|... d|
|00004470| 6e 6c 20 61 6e 64 20 61 | 64 64 20 69 74 20 74 6f |nl and a|dd it to|
|00004480| 20 74 68 65 20 6c 69 73 | 74 20 6f 66 20 66 69 6c | the lis|t of fil|
|00004490| 65 73 20 41 43 20 6b 65 | 65 70 73 20 74 72 61 63 |es AC ke|eps trac|
|000044a0| 6b 20 6f 66 2c 20 61 6c | 6f 6e 67 0a 09 09 20 20 |k of, al|ong... |
|000044b0| 20 20 64 6e 6c 20 77 69 | 74 68 20 6f 75 72 20 68 | dnl wi|th our h|
|000044c0| 6f 6f 6b 0a 09 09 20 20 | 20 20 41 43 5f 43 4f 4e |ook... | AC_CON|
|000044d0| 46 49 47 5f 48 45 41 44 | 45 52 53 28 5f 41 4d 5f |FIG_HEAD|ERS(_AM_|
|000044e0| 46 69 6c 65 2c 0a 64 6e | 6c 20 43 4f 4d 4d 41 4e |File,.dn|l COMMAN|
|000044f0| 44 53 2c 20 5b 2c 20 49 | 4e 49 54 2d 43 4d 44 53 |DS, [, I|NIT-CMDS|
|00004500| 5d 0a 5b 23 20 75 70 64 | 61 74 65 20 74 68 65 20 |].[# upd|ate the |
|00004510| 74 69 6d 65 73 74 61 6d | 70 0a 65 63 68 6f 20 74 |timestam|p.echo t|
|00004520| 69 6d 65 73 74 61 6d 70 | 20 3e 22 41 53 5f 45 53 |imestamp| >"AS_ES|
|00004530| 43 41 50 45 28 5f 41 4d | 5f 44 49 52 4e 41 4d 45 |CAPE(_AM|_DIRNAME|
|00004540| 28 5d 5f 41 4d 5f 44 65 | 73 74 5b 29 29 2f 73 74 |(]_AM_De|st[))/st|
|00004550| 61 6d 70 2d 68 5d 5f 41 | 4d 5f 43 6f 6e 66 69 67 |amp-h]_A|M_Config|
|00004560| 5f 48 65 61 64 65 72 5f | 49 6e 64 65 78 5b 22 0a |_Header_|Index[".|
|00004570| 5d 5b 24 32 5d 6d 34 5f | 69 66 76 61 6c 28 5b 24 |][$2]m4_|ifval([$|
|00004580| 33 5d 2c 20 5b 2c 20 5b | 24 33 5d 5d 29 29 64 6e |3], [, [|$3]]))dn|
|00004590| 6c 20 41 43 5f 43 4f 4e | 46 49 47 5f 48 45 41 44 |l AC_CON|FIG_HEAD|
|000045a0| 45 52 53 0a 09 09 20 20 | 20 20 6d 34 5f 70 6f 70 |ERS... | m4_pop|
|000045b0| 64 65 66 28 5b 5f 41 4d | 5f 44 65 73 74 5d 29 5d |def([_AM|_Dest])]|
|000045c0| 29 5d 2c 64 6e 6c 0a 5b | 41 43 5f 43 4f 4e 46 49 |)],dnl.[|AC_CONFI|
|000045d0| 47 5f 48 45 41 44 45 52 | 28 5b 24 31 5d 29 0a 20 |G_HEADER|([$1]). |
|000045e0| 20 41 43 5f 4f 55 54 50 | 55 54 5f 43 4f 4d 4d 41 | AC_OUTP|UT_COMMA|
|000045f0| 4e 44 53 28 0a 20 20 20 | 69 66 65 6c 73 65 28 70 |NDS(. |ifelse(p|
|00004600| 61 74 73 75 62 73 74 28 | 5b 24 31 5d 2c 20 5b 5b |atsubst(|[$1], [[|
|00004610| 5e 20 5d 5d 2c 20 5b 5d | 29 2c 0a 09 20 20 5b 5d |^ ]], []|),.. []|
|00004620| 2c 0a 09 20 20 5b 74 65 | 73 74 20 2d 7a 20 22 24 |,.. [te|st -z "$|
|00004630| 43 4f 4e 46 49 47 5f 48 | 45 41 44 45 52 53 22 20 |CONFIG_H|EADERS" |
|00004640| 7c 7c 20 65 63 68 6f 20 | 74 69 6d 65 73 74 61 6d ||| echo |timestam|
|00004650| 70 20 3e 64 6e 6c 0a 09 | 20 20 20 70 61 74 73 75 |p >dnl..| patsu|
|00004660| 62 73 74 28 5b 24 31 5d | 2c 20 5b 5e 5c 28 5b 5e |bst([$1]|, [^\([^|
|00004670| 3a 5d 2a 2f 5c 29 3f 2e | 2a 5d 2c 20 5b 5c 31 5d |:]*/\)?.|*], [\1]|
|00004680| 29 73 74 61 6d 70 2d 68 | 5d 29 2c 64 6e 6c 0a 5b |)stamp-h|]),dnl.[|
|00004690| 61 6d 5f 69 6e 64 78 3d | 31 0a 66 6f 72 20 61 6d |am_indx=|1.for am|
|000046a0| 5f 66 69 6c 65 20 69 6e | 20 24 31 3b 20 64 6f 0a |_file in| $1; do.|
|000046b0| 20 20 63 61 73 65 20 22 | 20 5c 24 43 4f 4e 46 49 | case "| \$CONFI|
|000046c0| 47 5f 48 45 41 44 45 52 | 53 20 22 20 69 6e 0a 20 |G_HEADER|S " in. |
|000046d0| 20 2a 22 20 5c 24 61 6d | 5f 66 69 6c 65 20 22 2a | *" \$am|_file "*|
|000046e0| 29 0a 20 20 20 20 61 6d | 5f 64 69 72 3d 5c 60 65 |). am|_dir=\`e|
|000046f0| 63 68 6f 20 5c 24 61 6d | 5f 66 69 6c 65 20 7c 73 |cho \$am|_file |s|
|00004700| 65 64 20 27 73 25 3a 2e | 2a 25 25 3b 73 25 5b 5e |ed 's%:.|*%%;s%[^|
|00004710| 2f 5d 2a 5c 24 25 25 27 | 5c 60 0a 20 20 20 20 69 |/]*\$%%'|\`. i|
|00004720| 66 20 74 65 73 74 20 2d | 6e 20 22 5c 24 61 6d 5f |f test -|n "\$am_|
|00004730| 64 69 72 22 3b 20 74 68 | 65 6e 0a 20 20 20 20 20 |dir"; th|en. |
|00004740| 20 61 6d 5f 74 6d 70 64 | 69 72 3d 5c 60 65 63 68 | am_tmpd|ir=\`ech|
|00004750| 6f 20 5c 24 61 6d 5f 64 | 69 72 20 7c 73 65 64 20 |o \$am_d|ir |sed |
|00004760| 27 73 25 5e 5c 28 2f 2a | 5c 29 2e 2a 5c 24 25 5c |'s%^\(/*|\).*\$%\|
|00004770| 31 25 27 5c 60 0a 20 20 | 20 20 20 20 66 6f 72 20 |1%'\`. | for |
|00004780| 61 6d 5f 73 75 62 64 69 | 72 20 69 6e 20 5c 60 65 |am_subdi|r in \`e|
|00004790| 63 68 6f 20 5c 24 61 6d | 5f 64 69 72 20 7c 73 65 |cho \$am|_dir |se|
|000047a0| 64 20 27 73 25 2f 25 20 | 25 27 5c 60 3b 20 64 6f |d 's%/% |%'\`; do|
|000047b0| 0a 20 20 20 20 20 20 20 | 20 61 6d 5f 74 6d 70 64 |. | am_tmpd|
|000047c0| 69 72 3d 5c 24 61 6d 5f | 74 6d 70 64 69 72 5c 24 |ir=\$am_|tmpdir\$|
|000047d0| 61 6d 5f 73 75 62 64 69 | 72 2f 0a 20 20 20 20 20 |am_subdi|r/. |
|000047e0| 20 20 20 69 66 20 74 65 | 73 74 20 21 20 2d 64 20 | if te|st ! -d |
|000047f0| 5c 24 61 6d 5f 74 6d 70 | 64 69 72 3b 20 74 68 65 |\$am_tmp|dir; the|
|00004800| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 6d 6b 64 69 |n. | mkdi|
|00004810| 72 20 5c 24 61 6d 5f 74 | 6d 70 64 69 72 0a 20 20 |r \$am_t|mpdir. |
|00004820| 20 20 20 20 20 20 66 69 | 0a 20 20 20 20 20 20 64 | fi|. d|
|00004830| 6f 6e 65 0a 20 20 20 20 | 66 69 0a 20 20 20 20 65 |one. |fi. e|
|00004840| 63 68 6f 20 74 69 6d 65 | 73 74 61 6d 70 20 3e 20 |cho time|stamp > |
|00004850| 22 5c 24 61 6d 5f 64 69 | 72 22 73 74 61 6d 70 2d |"\$am_di|r"stamp-|
|00004860| 68 5c 24 61 6d 5f 69 6e | 64 78 0a 20 20 20 20 3b |h\$am_in|dx. ;|
|00004870| 3b 0a 20 20 65 73 61 63 | 0a 20 20 61 6d 5f 69 6e |;. esac|. am_in|
|00004880| 64 78 3d 5c 60 65 78 70 | 72 20 5c 24 61 6d 5f 69 |dx=\`exp|r \$am_i|
|00004890| 6e 64 78 20 2b 20 31 5c | 60 0a 64 6f 6e 65 5d 29 |ndx + 1\|`.done])|
|000048a0| 0a 5d 29 5d 29 20 23 20 | 41 4d 5f 43 4f 4e 46 49 |.])]) # |AM_CONFI|
|000048b0| 47 5f 48 45 41 44 45 52 | 0a 0a 23 20 5f 41 4d 5f |G_HEADER|..# _AM_|
|000048c0| 44 49 52 4e 41 4d 45 28 | 50 41 54 48 29 0a 23 20 |DIRNAME(|PATH).# |
|000048d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000048e0| 2d 0a 23 20 4c 69 6b 65 | 20 41 53 5f 44 49 52 4e |-.# Like| AS_DIRN|
|000048f0| 41 4d 45 2c 20 6f 6e 6c | 79 20 64 6f 20 69 74 20 |AME, onl|y do it |
|00004900| 64 75 72 69 6e 67 20 6d | 61 63 72 6f 20 65 78 70 |during m|acro exp|
|00004910| 61 6e 73 69 6f 6e 0a 41 | 43 5f 44 45 46 55 4e 28 |ansion.A|C_DEFUN(|
|00004920| 5b 5f 41 4d 5f 44 49 52 | 4e 41 4d 45 5d 2c 0a 20 |[_AM_DIR|NAME],. |
|00004930| 20 20 20 20 20 20 5b 6d | 34 5f 69 66 28 6d 34 5f | [m|4_if(m4_|
|00004940| 72 65 67 65 78 70 28 5b | 24 31 5d 2c 20 5b 5e 2e |regexp([|$1], [^.|
|00004950| 2a 5b 5e 2f 5d 2f 2f 2a | 5b 5e 2f 5d 5b 5e 2f 5d |*[^/]//*|[^/][^/]|
|00004960| 2a 2f 2a 24 5d 29 2c 20 | 2d 31 2c 0a 09 20 20 20 |*/*$]), |-1,.. |
|00004970| 20 20 20 6d 34 5f 69 66 | 28 6d 34 5f 72 65 67 65 | m4_if|(m4_rege|
|00004980| 78 70 28 5b 24 31 5d 2c | 20 5b 5e 2f 2f 5c 28 5b |xp([$1],| [^//\([|
|00004990| 5e 2f 5d 5c 7c 24 5c 29 | 5d 29 2c 20 2d 31 2c 0a |^/]\|$\)|]), -1,.|
|000049a0| 09 09 20 20 20 20 6d 34 | 5f 69 66 28 6d 34 5f 72 |.. m4|_if(m4_r|
|000049b0| 65 67 65 78 70 28 5b 24 | 31 5d 2c 20 5b 5e 2f 2e |egexp([$|1], [^/.|
|000049c0| 2a 5d 29 2c 20 2d 31 2c | 0a 09 09 09 20 20 5b 2e |*]), -1,|.... [.|
|000049d0| 5d 2c 0a 09 09 09 20 20 | 6d 34 5f 70 61 74 73 75 |],.... |m4_patsu|
|000049e0| 62 73 74 28 5b 24 31 5d | 2c 20 5b 5e 5c 28 2f 5c |bst([$1]|, [^\(/\|
|000049f0| 29 2e 2a 5d 2c 20 5b 5c | 31 5d 29 29 2c 0a 09 09 |).*], [\|1])),...|
|00004a00| 20 20 20 20 6d 34 5f 70 | 61 74 73 75 62 73 74 28 | m4_p|atsubst(|
|00004a10| 5b 24 31 5d 2c 20 5b 5e | 5c 28 2f 2f 5c 29 5c 28 |[$1], [^|\(//\)\(|
|00004a20| 5b 5e 2f 5d 2e 2a 5c 7c | 24 5c 29 5d 2c 20 5b 5c |[^/].*\||$\)], [\|
|00004a30| 31 5d 29 29 2c 0a 09 20 | 20 20 20 20 20 6d 34 5f |1])),.. | m4_|
|00004a40| 70 61 74 73 75 62 73 74 | 28 5b 24 31 5d 2c 20 5b |patsubst|([$1], [|
|00004a50| 5e 5c 28 2e 2a 5b 5e 2f | 5d 5c 29 2f 2f 2a 5b 5e |^\(.*[^/|]\)//*[^|
|00004a60| 2f 5d 5b 5e 2f 5d 2a 2f | 2a 24 5d 2c 20 5b 5c 31 |/][^/]*/|*$], [\1|
|00004a70| 5d 29 29 5b 5d 64 6e 6c | 0a 5d 29 20 23 20 5f 41 |]))[]dnl|.]) # _A|
|00004a80| 4d 5f 44 49 52 4e 41 4d | 45 0a 0a 23 20 67 65 74 |M_DIRNAM|E..# get|
|00004a90| 74 65 78 74 2e 6d 34 20 | 73 65 72 69 61 6c 20 31 |text.m4 |serial 1|
|00004aa0| 34 20 28 67 65 74 74 65 | 78 74 2d 30 2e 31 31 2e |4 (gette|xt-0.11.|
|00004ab0| 32 29 0a 64 6e 6c 20 43 | 6f 70 79 72 69 67 68 74 |2).dnl C|opyright|
|00004ac0| 20 28 43 29 20 31 39 39 | 35 2d 32 30 30 32 20 46 | (C) 199|5-2002 F|
|00004ad0| 72 65 65 20 53 6f 66 74 | 77 61 72 65 20 46 6f 75 |ree Soft|ware Fou|
|00004ae0| 6e 64 61 74 69 6f 6e 2c | 20 49 6e 63 2e 0a 64 6e |ndation,| Inc..dn|
|00004af0| 6c 20 54 68 69 73 20 66 | 69 6c 65 20 69 73 20 66 |l This f|ile is f|
|00004b00| 72 65 65 20 73 6f 66 74 | 77 61 72 65 2c 20 64 69 |ree soft|ware, di|
|00004b10| 73 74 72 69 62 75 74 65 | 64 20 75 6e 64 65 72 20 |stribute|d under |
|00004b20| 74 68 65 20 74 65 72 6d | 73 20 6f 66 20 74 68 65 |the term|s of the|
|00004b30| 20 47 4e 55 0a 64 6e 6c | 20 47 65 6e 65 72 61 6c | GNU.dnl| General|
|00004b40| 20 50 75 62 6c 69 63 20 | 4c 69 63 65 6e 73 65 2e | Public |License.|
|00004b50| 20 20 41 73 20 61 20 73 | 70 65 63 69 61 6c 20 65 | As a s|pecial e|
|00004b60| 78 63 65 70 74 69 6f 6e | 20 74 6f 20 74 68 65 20 |xception| to the |
|00004b70| 47 4e 55 20 47 65 6e 65 | 72 61 6c 0a 64 6e 6c 20 |GNU Gene|ral.dnl |
|00004b80| 50 75 62 6c 69 63 20 4c | 69 63 65 6e 73 65 2c 20 |Public L|icense, |
|00004b90| 74 68 69 73 20 66 69 6c | 65 20 6d 61 79 20 62 65 |this fil|e may be|
|00004ba0| 20 64 69 73 74 72 69 62 | 75 74 65 64 20 61 73 20 | distrib|uted as |
|00004bb0| 70 61 72 74 20 6f 66 20 | 61 20 70 72 6f 67 72 61 |part of |a progra|
|00004bc0| 6d 0a 64 6e 6c 20 74 68 | 61 74 20 63 6f 6e 74 61 |m.dnl th|at conta|
|00004bd0| 69 6e 73 20 61 20 63 6f | 6e 66 69 67 75 72 61 74 |ins a co|nfigurat|
|00004be0| 69 6f 6e 20 73 63 72 69 | 70 74 20 67 65 6e 65 72 |ion scri|pt gener|
|00004bf0| 61 74 65 64 20 62 79 20 | 41 75 74 6f 63 6f 6e 66 |ated by |Autoconf|
|00004c00| 2c 20 75 6e 64 65 72 0a | 64 6e 6c 20 74 68 65 20 |, under.|dnl the |
|00004c10| 73 61 6d 65 20 64 69 73 | 74 72 69 62 75 74 69 6f |same dis|tributio|
|00004c20| 6e 20 74 65 72 6d 73 20 | 61 73 20 74 68 65 20 72 |n terms |as the r|
|00004c30| 65 73 74 20 6f 66 20 74 | 68 61 74 20 70 72 6f 67 |est of t|hat prog|
|00004c40| 72 61 6d 2e 0a 64 6e 6c | 0a 64 6e 6c 20 54 68 69 |ram..dnl|.dnl Thi|
|00004c50| 73 20 66 69 6c 65 20 63 | 61 6e 20 63 61 6e 20 62 |s file c|an can b|
|00004c60| 65 20 75 73 65 64 20 69 | 6e 20 70 72 6f 6a 65 63 |e used i|n projec|
|00004c70| 74 73 20 77 68 69 63 68 | 20 61 72 65 20 6e 6f 74 |ts which| are not|
|00004c80| 20 61 76 61 69 6c 61 62 | 6c 65 20 75 6e 64 65 72 | availab|le under|
|00004c90| 0a 64 6e 6c 20 74 68 65 | 20 47 4e 55 20 47 65 6e |.dnl the| GNU Gen|
|00004ca0| 65 72 61 6c 20 50 75 62 | 6c 69 63 20 4c 69 63 65 |eral Pub|lic Lice|
|00004cb0| 6e 73 65 20 6f 72 20 74 | 68 65 20 47 4e 55 20 4c |nse or t|he GNU L|
|00004cc0| 69 62 72 61 72 79 20 47 | 65 6e 65 72 61 6c 20 50 |ibrary G|eneral P|
|00004cd0| 75 62 6c 69 63 0a 64 6e | 6c 20 4c 69 63 65 6e 73 |ublic.dn|l Licens|
|00004ce0| 65 20 62 75 74 20 77 68 | 69 63 68 20 73 74 69 6c |e but wh|ich stil|
|00004cf0| 6c 20 77 61 6e 74 20 74 | 6f 20 70 72 6f 76 69 64 |l want t|o provid|
|00004d00| 65 20 73 75 70 70 6f 72 | 74 20 66 6f 72 20 74 68 |e suppor|t for th|
|00004d10| 65 20 47 4e 55 20 67 65 | 74 74 65 78 74 0a 64 6e |e GNU ge|ttext.dn|
|00004d20| 6c 20 66 75 6e 63 74 69 | 6f 6e 61 6c 69 74 79 2e |l functi|onality.|
|00004d30| 0a 64 6e 6c 20 50 6c 65 | 61 73 65 20 6e 6f 74 65 |.dnl Ple|ase note|
|00004d40| 20 74 68 61 74 20 74 68 | 65 20 61 63 74 75 61 6c | that th|e actual|
|00004d50| 20 63 6f 64 65 20 6f 66 | 20 74 68 65 20 47 4e 55 | code of| the GNU|
|00004d60| 20 67 65 74 74 65 78 74 | 20 6c 69 62 72 61 72 79 | gettext| library|
|00004d70| 20 69 73 20 63 6f 76 65 | 72 65 64 0a 64 6e 6c 20 | is cove|red.dnl |
|00004d80| 62 79 20 74 68 65 20 47 | 4e 55 20 4c 69 62 72 61 |by the G|NU Libra|
|00004d90| 72 79 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |ry Gener|al Publi|
|00004da0| 63 20 4c 69 63 65 6e 73 | 65 2c 20 61 6e 64 20 74 |c Licens|e, and t|
|00004db0| 68 65 20 72 65 73 74 20 | 6f 66 20 74 68 65 20 47 |he rest |of the G|
|00004dc0| 4e 55 0a 64 6e 6c 20 67 | 65 74 74 65 78 74 20 70 |NU.dnl g|ettext p|
|00004dd0| 61 63 6b 61 67 65 20 70 | 61 63 6b 61 67 65 20 69 |ackage p|ackage i|
|00004de0| 73 20 63 6f 76 65 72 65 | 64 20 62 79 20 74 68 65 |s covere|d by the|
|00004df0| 20 47 4e 55 20 47 65 6e | 65 72 61 6c 20 50 75 62 | GNU Gen|eral Pub|
|00004e00| 6c 69 63 20 4c 69 63 65 | 6e 73 65 2e 0a 64 6e 6c |lic Lice|nse..dnl|
|00004e10| 20 54 68 65 79 20 61 72 | 65 20 2a 6e 6f 74 2a 20 | They ar|e *not* |
|00004e20| 69 6e 20 74 68 65 20 70 | 75 62 6c 69 63 20 64 6f |in the p|ublic do|
|00004e30| 6d 61 69 6e 2e 0a 0a 64 | 6e 6c 20 41 75 74 68 6f |main...d|nl Autho|
|00004e40| 72 73 3a 0a 64 6e 6c 20 | 20 20 55 6c 72 69 63 68 |rs:.dnl | Ulrich|
|00004e50| 20 44 72 65 70 70 65 72 | 20 3c 64 72 65 70 70 65 | Drepper| <dreppe|
|00004e60| 72 40 63 79 67 6e 75 73 | 2e 63 6f 6d 3e 2c 20 31 |r@cygnus|.com>, 1|
|00004e70| 39 39 35 2d 32 30 30 30 | 2e 0a 64 6e 6c 20 20 20 |995-2000|..dnl |
|00004e80| 42 72 75 6e 6f 20 48 61 | 69 62 6c 65 20 3c 68 61 |Bruno Ha|ible <ha|
|00004e90| 69 62 6c 65 40 63 6c 69 | 73 70 2e 63 6f 6e 73 2e |ible@cli|sp.cons.|
|00004ea0| 6f 72 67 3e 2c 20 32 30 | 30 30 2d 32 30 30 32 2e |org>, 20|00-2002.|
|00004eb0| 0a 0a 64 6e 6c 20 4d 61 | 63 72 6f 20 74 6f 20 61 |..dnl Ma|cro to a|
|00004ec0| 64 64 20 66 6f 72 20 75 | 73 69 6e 67 20 47 4e 55 |dd for u|sing GNU|
|00004ed0| 20 67 65 74 74 65 78 74 | 2e 0a 0a 64 6e 6c 20 55 | gettext|...dnl U|
|00004ee0| 73 61 67 65 3a 20 41 4d | 5f 47 4e 55 5f 47 45 54 |sage: AM|_GNU_GET|
|00004ef0| 54 45 58 54 28 5b 49 4e | 54 4c 53 59 4d 42 4f 4c |TEXT([IN|TLSYMBOL|
|00004f00| 5d 2c 20 5b 4e 45 45 44 | 53 59 4d 42 4f 4c 5d 2c |], [NEED|SYMBOL],|
|00004f10| 20 5b 49 4e 54 4c 44 49 | 52 5d 29 2e 0a 64 6e 6c | [INTLDI|R])..dnl|
|00004f20| 20 49 4e 54 4c 53 59 4d | 42 4f 4c 20 63 61 6e 20 | INTLSYM|BOL can |
|00004f30| 62 65 20 6f 6e 65 20 6f | 66 20 27 65 78 74 65 72 |be one o|f 'exter|
|00004f40| 6e 61 6c 27 2c 20 27 6e | 6f 2d 6c 69 62 74 6f 6f |nal', 'n|o-libtoo|
|00004f50| 6c 27 2c 20 27 75 73 65 | 2d 6c 69 62 74 6f 6f 6c |l', 'use|-libtool|
|00004f60| 27 2e 20 54 68 65 0a 64 | 6e 6c 20 20 20 20 64 65 |'. The.d|nl de|
|00004f70| 66 61 75 6c 74 20 28 69 | 66 20 69 74 20 69 73 20 |fault (i|f it is |
|00004f80| 6e 6f 74 20 73 70 65 63 | 69 66 69 65 64 20 6f 72 |not spec|ified or|
|00004f90| 20 65 6d 70 74 79 29 20 | 69 73 20 27 6e 6f 2d 6c | empty) |is 'no-l|
|00004fa0| 69 62 74 6f 6f 6c 27 2e | 0a 64 6e 6c 20 20 20 20 |ibtool'.|.dnl |
|00004fb0| 49 4e 54 4c 53 59 4d 42 | 4f 4c 20 73 68 6f 75 6c |INTLSYMB|OL shoul|
|00004fc0| 64 20 62 65 20 27 65 78 | 74 65 72 6e 61 6c 27 20 |d be 'ex|ternal' |
|00004fd0| 66 6f 72 20 70 61 63 6b | 61 67 65 73 20 77 69 74 |for pack|ages wit|
|00004fe0| 68 20 6e 6f 20 69 6e 74 | 6c 20 64 69 72 65 63 74 |h no int|l direct|
|00004ff0| 6f 72 79 2c 0a 64 6e 6c | 20 20 20 20 61 6e 64 20 |ory,.dnl| and |
|00005000| 27 6e 6f 2d 6c 69 62 74 | 6f 6f 6c 27 20 6f 72 20 |'no-libt|ool' or |
|00005010| 27 75 73 65 2d 6c 69 62 | 74 6f 6f 6c 27 20 66 6f |'use-lib|tool' fo|
|00005020| 72 20 70 61 63 6b 61 67 | 65 73 20 77 69 74 68 20 |r packag|es with |
|00005030| 61 6e 20 69 6e 74 6c 20 | 64 69 72 65 63 74 6f 72 |an intl |director|
|00005040| 79 2e 0a 64 6e 6c 20 20 | 20 20 49 66 20 49 4e 54 |y..dnl | If INT|
|00005050| 4c 53 59 4d 42 4f 4c 20 | 69 73 20 27 75 73 65 2d |LSYMBOL |is 'use-|
|00005060| 6c 69 62 74 6f 6f 6c 27 | 2c 20 74 68 65 6e 20 61 |libtool'|, then a|
|00005070| 20 6c 69 62 74 6f 6f 6c | 20 6c 69 62 72 61 72 79 | libtool| library|
|00005080| 0a 64 6e 6c 20 20 20 20 | 24 28 74 6f 70 5f 62 75 |.dnl |$(top_bu|
|00005090| 69 6c 64 64 69 72 29 2f | 69 6e 74 6c 2f 6c 69 62 |ilddir)/|intl/lib|
|000050a0| 69 6e 74 6c 2e 6c 61 20 | 77 69 6c 6c 20 62 65 20 |intl.la |will be |
|000050b0| 63 72 65 61 74 65 64 20 | 28 73 68 61 72 65 64 20 |created |(shared |
|000050c0| 61 6e 64 2f 6f 72 20 73 | 74 61 74 69 63 2c 0a 64 |and/or s|tatic,.d|
|000050d0| 6e 6c 20 20 20 20 64 65 | 70 65 6e 64 69 6e 67 20 |nl de|pending |
|000050e0| 6f 6e 20 2d 2d 7b 65 6e | 61 62 6c 65 2c 64 69 73 |on --{en|able,dis|
|000050f0| 61 62 6c 65 7d 2d 7b 73 | 68 61 72 65 64 2c 73 74 |able}-{s|hared,st|
|00005100| 61 74 69 63 7d 20 61 6e | 64 20 6f 6e 20 74 68 65 |atic} an|d on the|
|00005110| 20 70 72 65 73 65 6e 63 | 65 20 6f 66 0a 64 6e 6c | presenc|e of.dnl|
|00005120| 20 20 20 20 41 4d 2d 44 | 49 53 41 42 4c 45 2d 53 | AM-D|ISABLE-S|
|00005130| 48 41 52 45 44 29 2e 20 | 49 66 20 49 4e 54 4c 53 |HARED). |If INTLS|
|00005140| 59 4d 42 4f 4c 20 69 73 | 20 27 6e 6f 2d 6c 69 62 |YMBOL is| 'no-lib|
|00005150| 74 6f 6f 6c 27 2c 20 61 | 20 73 74 61 74 69 63 20 |tool', a| static |
|00005160| 6c 69 62 72 61 72 79 0a | 64 6e 6c 20 20 20 20 24 |library.|dnl $|
|00005170| 28 74 6f 70 5f 62 75 69 | 6c 64 64 69 72 29 2f 69 |(top_bui|lddir)/i|
|00005180| 6e 74 6c 2f 6c 69 62 69 | 6e 74 6c 2e 61 20 77 69 |ntl/libi|ntl.a wi|
|00005190| 6c 6c 20 62 65 20 63 72 | 65 61 74 65 64 2e 0a 64 |ll be cr|eated..d|
|000051a0| 6e 6c 20 49 66 20 4e 45 | 45 44 53 59 4d 42 4f 4c |nl If NE|EDSYMBOL|
|000051b0| 20 69 73 20 73 70 65 63 | 69 66 69 65 64 20 61 6e | is spec|ified an|
|000051c0| 64 20 69 73 20 27 6e 65 | 65 64 2d 6e 67 65 74 74 |d is 'ne|ed-ngett|
|000051d0| 65 78 74 27 2c 20 74 68 | 65 6e 20 47 4e 55 20 67 |ext', th|en GNU g|
|000051e0| 65 74 74 65 78 74 0a 64 | 6e 6c 20 20 20 20 69 6d |ettext.d|nl im|
|000051f0| 70 6c 65 6d 65 6e 74 61 | 74 69 6f 6e 73 20 28 69 |plementa|tions (i|
|00005200| 6e 20 6c 69 62 63 20 6f | 72 20 6c 69 62 69 6e 74 |n libc o|r libint|
|00005210| 6c 29 20 77 69 74 68 6f | 75 74 20 74 68 65 20 6e |l) witho|ut the n|
|00005220| 67 65 74 74 65 78 74 28 | 29 20 66 75 6e 63 74 69 |gettext(|) functi|
|00005230| 6f 6e 0a 64 6e 6c 20 20 | 20 20 77 69 6c 6c 20 62 |on.dnl | will b|
|00005240| 65 20 69 67 6e 6f 72 65 | 64 2e 0a 64 6e 6c 20 49 |e ignore|d..dnl I|
|00005250| 4e 54 4c 44 49 52 20 69 | 73 20 75 73 65 64 20 74 |NTLDIR i|s used t|
|00005260| 6f 20 66 69 6e 64 20 74 | 68 65 20 69 6e 74 6c 20 |o find t|he intl |
|00005270| 6c 69 62 72 61 72 69 65 | 73 2e 20 20 49 66 20 65 |librarie|s. If e|
|00005280| 6d 70 74 79 2c 0a 64 6e | 6c 20 20 20 20 74 68 65 |mpty,.dn|l the|
|00005290| 20 76 61 6c 75 65 20 60 | 24 28 74 6f 70 5f 62 75 | value `|$(top_bu|
|000052a0| 69 6c 64 64 69 72 29 2f | 69 6e 74 6c 2f 27 20 69 |ilddir)/|intl/' i|
|000052b0| 73 20 75 73 65 64 2e 0a | 64 6e 6c 0a 64 6e 6c 20 |s used..|dnl.dnl |
|000052c0| 54 68 65 20 72 65 73 75 | 6c 74 20 6f 66 20 74 68 |The resu|lt of th|
|000052d0| 65 20 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |e config|uration |
|000052e0| 69 73 20 6f 6e 65 20 6f | 66 20 74 68 72 65 65 20 |is one o|f three |
|000052f0| 63 61 73 65 73 3a 0a 64 | 6e 6c 20 31 29 20 47 4e |cases:.d|nl 1) GN|
|00005300| 55 20 67 65 74 74 65 78 | 74 2c 20 61 73 20 69 6e |U gettex|t, as in|
|00005310| 63 6c 75 64 65 64 20 69 | 6e 20 74 68 65 20 69 6e |cluded i|n the in|
|00005320| 74 6c 20 73 75 62 64 69 | 72 65 63 74 6f 72 79 2c |tl subdi|rectory,|
|00005330| 20 77 69 6c 6c 20 62 65 | 20 63 6f 6d 70 69 6c 65 | will be| compile|
|00005340| 64 0a 64 6e 6c 20 20 20 | 20 61 6e 64 20 75 73 65 |d.dnl | and use|
|00005350| 64 2e 0a 64 6e 6c 20 20 | 20 20 43 61 74 61 6c 6f |d..dnl | Catalo|
|00005360| 67 20 66 6f 72 6d 61 74 | 3a 20 47 4e 55 20 2d 2d |g format|: GNU --|
|00005370| 3e 20 69 6e 73 74 61 6c | 6c 20 69 6e 20 24 28 64 |> instal|l in $(d|
|00005380| 61 74 61 64 69 72 29 0a | 64 6e 6c 20 20 20 20 43 |atadir).|dnl C|
|00005390| 61 74 61 6c 6f 67 20 65 | 78 74 65 6e 73 69 6f 6e |atalog e|xtension|
|000053a0| 3a 20 2e 6d 6f 20 61 66 | 74 65 72 20 69 6e 73 74 |: .mo af|ter inst|
|000053b0| 61 6c 6c 61 74 69 6f 6e | 2c 20 2e 67 6d 6f 20 69 |allation|, .gmo i|
|000053c0| 6e 20 73 6f 75 72 63 65 | 20 74 72 65 65 0a 64 6e |n source| tree.dn|
|000053d0| 6c 20 32 29 20 47 4e 55 | 20 67 65 74 74 65 78 74 |l 2) GNU| gettext|
|000053e0| 20 68 61 73 20 62 65 65 | 6e 20 66 6f 75 6e 64 20 | has bee|n found |
|000053f0| 69 6e 20 74 68 65 20 73 | 79 73 74 65 6d 27 73 20 |in the s|ystem's |
|00005400| 43 20 6c 69 62 72 61 72 | 79 2e 0a 64 6e 6c 20 20 |C librar|y..dnl |
|00005410| 20 20 43 61 74 61 6c 6f | 67 20 66 6f 72 6d 61 74 | Catalo|g format|
|00005420| 3a 20 47 4e 55 20 2d 2d | 3e 20 69 6e 73 74 61 6c |: GNU --|> instal|
|00005430| 6c 20 69 6e 20 24 28 64 | 61 74 61 64 69 72 29 0a |l in $(d|atadir).|
|00005440| 64 6e 6c 20 20 20 20 43 | 61 74 61 6c 6f 67 20 65 |dnl C|atalog e|
|00005450| 78 74 65 6e 73 69 6f 6e | 3a 20 2e 6d 6f 20 61 66 |xtension|: .mo af|
|00005460| 74 65 72 20 69 6e 73 74 | 61 6c 6c 61 74 69 6f 6e |ter inst|allation|
|00005470| 2c 20 2e 67 6d 6f 20 69 | 6e 20 73 6f 75 72 63 65 |, .gmo i|n source|
|00005480| 20 74 72 65 65 0a 64 6e | 6c 20 33 29 20 4e 6f 20 | tree.dn|l 3) No |
|00005490| 69 6e 74 65 72 6e 61 74 | 69 6f 6e 61 6c 69 7a 61 |internat|ionaliza|
|000054a0| 74 69 6f 6e 2c 20 61 6c | 77 61 79 73 20 75 73 65 |tion, al|ways use|
|000054b0| 20 45 6e 67 6c 69 73 68 | 20 6d 73 67 69 64 2e 0a | English| msgid..|
|000054c0| 64 6e 6c 20 20 20 20 43 | 61 74 61 6c 6f 67 20 66 |dnl C|atalog f|
|000054d0| 6f 72 6d 61 74 3a 20 6e | 6f 6e 65 0a 64 6e 6c 20 |ormat: n|one.dnl |
|000054e0| 20 20 20 43 61 74 61 6c | 6f 67 20 65 78 74 65 6e | Catal|og exten|
|000054f0| 73 69 6f 6e 3a 20 6e 6f | 6e 65 0a 64 6e 6c 20 49 |sion: no|ne.dnl I|
|00005500| 66 20 49 4e 54 4c 53 59 | 4d 42 4f 4c 20 69 73 20 |f INTLSY|MBOL is |
|00005510| 27 65 78 74 65 72 6e 61 | 6c 27 2c 20 6f 6e 6c 79 |'externa|l', only|
|00005520| 20 63 61 73 65 73 20 32 | 20 61 6e 64 20 33 20 63 | cases 2| and 3 c|
|00005530| 61 6e 20 6f 63 63 75 72 | 2e 0a 64 6e 6c 20 54 68 |an occur|..dnl Th|
|00005540| 65 20 75 73 65 20 6f 66 | 20 2e 67 6d 6f 20 69 73 |e use of| .gmo is|
|00005550| 20 68 69 73 74 6f 72 69 | 63 61 6c 20 28 69 74 20 | histori|cal (it |
|00005560| 77 61 73 20 6e 65 65 64 | 65 64 20 74 6f 20 61 76 |was need|ed to av|
|00005570| 6f 69 64 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 |oid over|writing |
|00005580| 74 68 65 0a 64 6e 6c 20 | 47 4e 55 20 66 6f 72 6d |the.dnl |GNU form|
|00005590| 61 74 20 63 61 74 61 6c | 6f 67 73 20 77 68 65 6e |at catal|ogs when|
|000055a0| 20 62 75 69 6c 64 69 6e | 67 20 6f 6e 20 61 20 70 | buildin|g on a p|
|000055b0| 6c 61 74 66 6f 72 6d 20 | 77 69 74 68 20 61 6e 20 |latform |with an |
|000055c0| 58 2f 4f 70 65 6e 20 67 | 65 74 74 65 78 74 29 2c |X/Open g|ettext),|
|000055d0| 0a 64 6e 6c 20 62 75 74 | 20 77 65 20 6b 65 65 70 |.dnl but| we keep|
|000055e0| 20 69 74 20 69 6e 20 6f | 72 64 65 72 20 6e 6f 74 | it in o|rder not|
|000055f0| 20 74 6f 20 66 6f 72 63 | 65 20 69 72 72 65 6c 65 | to forc|e irrele|
|00005600| 76 61 6e 74 20 66 69 6c | 65 6e 61 6d 65 20 63 68 |vant fil|ename ch|
|00005610| 61 6e 67 65 73 20 6f 6e | 20 74 68 65 0a 64 6e 6c |anges on| the.dnl|
|00005620| 20 6d 61 69 6e 74 61 69 | 6e 65 72 73 2e 0a 64 6e | maintai|ners..dn|
|00005630| 6c 0a 41 43 5f 44 45 46 | 55 4e 28 5b 41 4d 5f 47 |l.AC_DEF|UN([AM_G|
|00005640| 4e 55 5f 47 45 54 54 45 | 58 54 5d 2c 0a 5b 0a 20 |NU_GETTE|XT],.[. |
|00005650| 20 64 6e 6c 20 41 72 67 | 75 6d 65 6e 74 20 63 68 | dnl Arg|ument ch|
|00005660| 65 63 6b 69 6e 67 2e 0a | 20 20 69 66 65 6c 73 65 |ecking..| ifelse|
|00005670| 28 5b 24 31 5d 2c 20 5b | 5d 2c 20 2c 20 5b 69 66 |([$1], [|], , [if|
|00005680| 65 6c 73 65 28 5b 24 31 | 5d 2c 20 5b 65 78 74 65 |else([$1|], [exte|
|00005690| 72 6e 61 6c 5d 2c 20 2c | 20 5b 69 66 65 6c 73 65 |rnal], ,| [ifelse|
|000056a0| 28 5b 24 31 5d 2c 20 5b | 6e 6f 2d 6c 69 62 74 6f |([$1], [|no-libto|
|000056b0| 6f 6c 5d 2c 20 2c 20 5b | 69 66 65 6c 73 65 28 5b |ol], , [|ifelse([|
|000056c0| 24 31 5d 2c 20 5b 75 73 | 65 2d 6c 69 62 74 6f 6f |$1], [us|e-libtoo|
|000056d0| 6c 5d 2c 20 2c 0a 20 20 | 20 20 5b 65 72 72 70 72 |l], ,. | [errpr|
|000056e0| 69 6e 74 28 5b 45 52 52 | 4f 52 3a 20 69 6e 76 61 |int([ERR|OR: inva|
|000056f0| 6c 69 64 20 66 69 72 73 | 74 20 61 72 67 75 6d 65 |lid firs|t argume|
|00005700| 6e 74 20 74 6f 20 41 4d | 5f 47 4e 55 5f 47 45 54 |nt to AM|_GNU_GET|
|00005710| 54 45 58 54 0a 5d 29 5d | 29 5d 29 5d 29 5d 29 0a |TEXT.])]|)])])]).|
|00005720| 20 20 69 66 65 6c 73 65 | 28 5b 24 32 5d 2c 20 5b | ifelse|([$2], [|
|00005730| 5d 2c 20 2c 20 5b 69 66 | 65 6c 73 65 28 5b 24 32 |], , [if|else([$2|
|00005740| 5d 2c 20 5b 6e 65 65 64 | 2d 6e 67 65 74 74 65 78 |], [need|-ngettex|
|00005750| 74 5d 2c 20 2c 0a 20 20 | 20 20 5b 65 72 72 70 72 |t], ,. | [errpr|
|00005760| 69 6e 74 28 5b 45 52 52 | 4f 52 3a 20 69 6e 76 61 |int([ERR|OR: inva|
|00005770| 6c 69 64 20 73 65 63 6f | 6e 64 20 61 72 67 75 6d |lid seco|nd argum|
|00005780| 65 6e 74 20 74 6f 20 41 | 4d 5f 47 4e 55 5f 47 45 |ent to A|M_GNU_GE|
|00005790| 54 54 45 58 54 0a 5d 29 | 5d 29 5d 29 0a 20 20 64 |TTEXT.])|])]). d|
|000057a0| 65 66 69 6e 65 28 67 74 | 5f 69 6e 63 6c 75 64 65 |efine(gt|_include|
|000057b0| 64 5f 69 6e 74 6c 2c 20 | 69 66 65 6c 73 65 28 5b |d_intl, |ifelse([|
|000057c0| 24 31 5d 2c 20 5b 65 78 | 74 65 72 6e 61 6c 5d 2c |$1], [ex|ternal],|
|000057d0| 20 5b 6e 6f 5d 2c 20 5b | 79 65 73 5d 29 29 0a 20 | [no], [|yes])). |
|000057e0| 20 64 65 66 69 6e 65 28 | 67 74 5f 6c 69 62 74 6f | define(|gt_libto|
|000057f0| 6f 6c 5f 73 75 66 66 69 | 78 5f 70 72 65 66 69 78 |ol_suffi|x_prefix|
|00005800| 2c 20 69 66 65 6c 73 65 | 28 5b 24 31 5d 2c 20 5b |, ifelse|([$1], [|
|00005810| 75 73 65 2d 6c 69 62 74 | 6f 6f 6c 5d 2c 20 5b 6c |use-libt|ool], [l|
|00005820| 5d 2c 20 5b 5d 29 29 0a | 0a 20 20 41 43 5f 52 45 |], [])).|. AC_RE|
|00005830| 51 55 49 52 45 28 5b 41 | 4d 5f 50 4f 5f 53 55 42 |QUIRE([A|M_PO_SUB|
|00005840| 44 49 52 53 5d 29 64 6e | 6c 0a 20 20 69 66 65 6c |DIRS])dn|l. ifel|
|00005850| 73 65 28 67 74 5f 69 6e | 63 6c 75 64 65 64 5f 69 |se(gt_in|cluded_i|
|00005860| 6e 74 6c 2c 20 79 65 73 | 2c 20 5b 0a 20 20 20 20 |ntl, yes|, [. |
|00005870| 41 43 5f 52 45 51 55 49 | 52 45 28 5b 41 4d 5f 49 |AC_REQUI|RE([AM_I|
|00005880| 4e 54 4c 5f 53 55 42 44 | 49 52 5d 29 64 6e 6c 0a |NTL_SUBD|IR])dnl.|
|00005890| 20 20 5d 29 0a 0a 20 20 | 64 6e 6c 20 50 72 65 72 | ]).. |dnl Prer|
|000058a0| 65 71 75 69 73 69 74 65 | 73 20 6f 66 20 41 43 5f |equisite|s of AC_|
|000058b0| 4c 49 42 5f 4c 49 4e 4b | 46 4c 41 47 53 5f 42 4f |LIB_LINK|FLAGS_BO|
|000058c0| 44 59 2e 0a 20 20 41 43 | 5f 52 45 51 55 49 52 45 |DY.. AC|_REQUIRE|
|000058d0| 28 5b 41 43 5f 4c 49 42 | 5f 50 52 45 50 41 52 45 |([AC_LIB|_PREPARE|
|000058e0| 5f 50 52 45 46 49 58 5d | 29 0a 20 20 41 43 5f 52 |_PREFIX]|). AC_R|
|000058f0| 45 51 55 49 52 45 28 5b | 41 43 5f 4c 49 42 5f 52 |EQUIRE([|AC_LIB_R|
|00005900| 50 41 54 48 5d 29 0a 0a | 20 20 41 43 5f 4d 53 47 |PATH])..| AC_MSG|
|00005910| 5f 43 48 45 43 4b 49 4e | 47 28 5b 77 68 65 74 68 |_CHECKIN|G([wheth|
|00005920| 65 72 20 4e 4c 53 20 69 | 73 20 72 65 71 75 65 73 |er NLS i|s reques|
|00005930| 74 65 64 5d 29 0a 20 20 | 64 6e 6c 20 44 65 66 61 |ted]). |dnl Defa|
|00005940| 75 6c 74 20 69 73 20 65 | 6e 61 62 6c 65 64 20 4e |ult is e|nabled N|
|00005950| 4c 53 0a 20 20 41 43 5f | 41 52 47 5f 45 4e 41 42 |LS. AC_|ARG_ENAB|
|00005960| 4c 45 28 6e 6c 73 2c 0a | 20 20 20 20 5b 20 20 2d |LE(nls,.| [ -|
|00005970| 2d 64 69 73 61 62 6c 65 | 2d 6e 6c 73 20 20 20 20 |-disable|-nls |
|00005980| 20 20 20 20 20 20 20 64 | 6f 20 6e 6f 74 20 75 73 | d|o not us|
|00005990| 65 20 4e 61 74 69 76 65 | 20 4c 61 6e 67 75 61 67 |e Native| Languag|
|000059a0| 65 20 53 75 70 70 6f 72 | 74 5d 2c 0a 20 20 20 20 |e Suppor|t],. |
|000059b0| 55 53 45 5f 4e 4c 53 3d | 24 65 6e 61 62 6c 65 76 |USE_NLS=|$enablev|
|000059c0| 61 6c 2c 20 55 53 45 5f | 4e 4c 53 3d 79 65 73 29 |al, USE_|NLS=yes)|
|000059d0| 0a 20 20 41 43 5f 4d 53 | 47 5f 52 45 53 55 4c 54 |. AC_MS|G_RESULT|
|000059e0| 28 24 55 53 45 5f 4e 4c | 53 29 0a 20 20 41 43 5f |($USE_NL|S). AC_|
|000059f0| 53 55 42 53 54 28 55 53 | 45 5f 4e 4c 53 29 0a 0a |SUBST(US|E_NLS)..|
|00005a00| 20 20 69 66 65 6c 73 65 | 28 67 74 5f 69 6e 63 6c | ifelse|(gt_incl|
|00005a10| 75 64 65 64 5f 69 6e 74 | 6c 2c 20 79 65 73 2c 20 |uded_int|l, yes, |
|00005a20| 5b 0a 20 20 20 20 42 55 | 49 4c 44 5f 49 4e 43 4c |[. BU|ILD_INCL|
|00005a30| 55 44 45 44 5f 4c 49 42 | 49 4e 54 4c 3d 6e 6f 0a |UDED_LIB|INTL=no.|
|00005a40| 20 20 20 20 55 53 45 5f | 49 4e 43 4c 55 44 45 44 | USE_|INCLUDED|
|00005a50| 5f 4c 49 42 49 4e 54 4c | 3d 6e 6f 0a 20 20 5d 29 |_LIBINTL|=no. ])|
|00005a60| 0a 20 20 4c 49 42 49 4e | 54 4c 3d 0a 20 20 4c 54 |. LIBIN|TL=. LT|
|00005a70| 4c 49 42 49 4e 54 4c 3d | 0a 20 20 50 4f 53 55 42 |LIBINTL=|. POSUB|
|00005a80| 3d 0a 0a 20 20 64 6e 6c | 20 49 66 20 77 65 20 75 |=.. dnl| If we u|
|00005a90| 73 65 20 4e 4c 53 20 66 | 69 67 75 72 65 20 6f 75 |se NLS f|igure ou|
|00005aa0| 74 20 77 68 61 74 20 6d | 65 74 68 6f 64 0a 20 20 |t what m|ethod. |
|00005ab0| 69 66 20 74 65 73 74 20 | 22 24 55 53 45 5f 4e 4c |if test |"$USE_NL|
|00005ac0| 53 22 20 3d 20 22 79 65 | 73 22 3b 20 74 68 65 6e |S" = "ye|s"; then|
|00005ad0| 0a 20 20 20 20 67 74 5f | 75 73 65 5f 70 72 65 69 |. gt_|use_prei|
|00005ae0| 6e 73 74 61 6c 6c 65 64 | 5f 67 6e 75 67 65 74 74 |nstalled|_gnugett|
|00005af0| 65 78 74 3d 6e 6f 0a 20 | 20 20 20 69 66 65 6c 73 |ext=no. | ifels|
|00005b00| 65 28 67 74 5f 69 6e 63 | 6c 75 64 65 64 5f 69 6e |e(gt_inc|luded_in|
|00005b10| 74 6c 2c 20 79 65 73 2c | 20 5b 0a 20 20 20 20 20 |tl, yes,| [. |
|00005b20| 20 41 43 5f 4d 53 47 5f | 43 48 45 43 4b 49 4e 47 | AC_MSG_|CHECKING|
|00005b30| 28 5b 77 68 65 74 68 65 | 72 20 69 6e 63 6c 75 64 |([whethe|r includ|
|00005b40| 65 64 20 67 65 74 74 65 | 78 74 20 69 73 20 72 65 |ed gette|xt is re|
|00005b50| 71 75 65 73 74 65 64 5d | 29 0a 20 20 20 20 20 20 |quested]|). |
|00005b60| 41 43 5f 41 52 47 5f 57 | 49 54 48 28 69 6e 63 6c |AC_ARG_W|ITH(incl|
|00005b70| 75 64 65 64 2d 67 65 74 | 74 65 78 74 2c 0a 20 20 |uded-get|text,. |
|00005b80| 20 20 20 20 20 20 5b 20 | 20 2d 2d 77 69 74 68 2d | [ | --with-|
|00005b90| 69 6e 63 6c 75 64 65 64 | 2d 67 65 74 74 65 78 74 |included|-gettext|
|00005ba0| 20 75 73 65 20 74 68 65 | 20 47 4e 55 20 67 65 74 | use the| GNU get|
|00005bb0| 74 65 78 74 20 6c 69 62 | 72 61 72 79 20 69 6e 63 |text lib|rary inc|
|00005bc0| 6c 75 64 65 64 20 68 65 | 72 65 5d 2c 0a 20 20 20 |luded he|re],. |
|00005bd0| 20 20 20 20 20 6e 6c 73 | 5f 63 76 5f 66 6f 72 63 | nls|_cv_forc|
|00005be0| 65 5f 75 73 65 5f 67 6e | 75 5f 67 65 74 74 65 78 |e_use_gn|u_gettex|
|00005bf0| 74 3d 24 77 69 74 68 76 | 61 6c 2c 0a 20 20 20 20 |t=$withv|al,. |
|00005c00| 20 20 20 20 6e 6c 73 5f | 63 76 5f 66 6f 72 63 65 | nls_|cv_force|
|00005c10| 5f 75 73 65 5f 67 6e 75 | 5f 67 65 74 74 65 78 74 |_use_gnu|_gettext|
|00005c20| 3d 6e 6f 29 0a 20 20 20 | 20 20 20 41 43 5f 4d 53 |=no). | AC_MS|
|00005c30| 47 5f 52 45 53 55 4c 54 | 28 24 6e 6c 73 5f 63 76 |G_RESULT|($nls_cv|
|00005c40| 5f 66 6f 72 63 65 5f 75 | 73 65 5f 67 6e 75 5f 67 |_force_u|se_gnu_g|
|00005c50| 65 74 74 65 78 74 29 0a | 0a 20 20 20 20 20 20 6e |ettext).|. n|
|00005c60| 6c 73 5f 63 76 5f 75 73 | 65 5f 67 6e 75 5f 67 65 |ls_cv_us|e_gnu_ge|
|00005c70| 74 74 65 78 74 3d 22 24 | 6e 6c 73 5f 63 76 5f 66 |ttext="$|nls_cv_f|
|00005c80| 6f 72 63 65 5f 75 73 65 | 5f 67 6e 75 5f 67 65 74 |orce_use|_gnu_get|
|00005c90| 74 65 78 74 22 0a 20 20 | 20 20 20 20 69 66 20 74 |text". | if t|
|00005ca0| 65 73 74 20 22 24 6e 6c | 73 5f 63 76 5f 66 6f 72 |est "$nl|s_cv_for|
|00005cb0| 63 65 5f 75 73 65 5f 67 | 6e 75 5f 67 65 74 74 65 |ce_use_g|nu_gette|
|00005cc0| 78 74 22 20 21 3d 20 22 | 79 65 73 22 3b 20 74 68 |xt" != "|yes"; th|
|00005cd0| 65 6e 0a 20 20 20 20 5d | 29 0a 20 20 20 20 20 20 |en. ]|). |
|00005ce0| 20 20 64 6e 6c 20 55 73 | 65 72 20 64 6f 65 73 20 | dnl Us|er does |
|00005cf0| 6e 6f 74 20 69 6e 73 69 | 73 74 20 6f 6e 20 75 73 |not insi|st on us|
|00005d00| 69 6e 67 20 47 4e 55 20 | 4e 4c 53 20 6c 69 62 72 |ing GNU |NLS libr|
|00005d10| 61 72 79 2e 20 20 46 69 | 67 75 72 65 20 6f 75 74 |ary. Fi|gure out|
|00005d20| 20 77 68 61 74 0a 20 20 | 20 20 20 20 20 20 64 6e | what. | dn|
|00005d30| 6c 20 74 6f 20 75 73 65 | 2e 20 20 49 66 20 47 4e |l to use|. If GN|
|00005d40| 55 20 67 65 74 74 65 78 | 74 20 69 73 20 61 76 61 |U gettex|t is ava|
|00005d50| 69 6c 61 62 6c 65 20 77 | 65 20 75 73 65 20 74 68 |ilable w|e use th|
|00005d60| 69 73 2e 20 20 45 6c 73 | 65 20 77 65 20 68 61 76 |is. Els|e we hav|
|00005d70| 65 0a 20 20 20 20 20 20 | 20 20 64 6e 6c 20 74 6f |e. | dnl to|
|00005d80| 20 66 61 6c 6c 20 62 61 | 63 6b 20 74 6f 20 47 4e | fall ba|ck to GN|
|00005d90| 55 20 4e 4c 53 20 6c 69 | 62 72 61 72 79 2e 0a 0a |U NLS li|brary...|
|00005da0| 20 20 20 20 20 20 20 20 | 64 6e 6c 20 41 64 64 20 | |dnl Add |
|00005db0| 61 20 76 65 72 73 69 6f | 6e 20 6e 75 6d 62 65 72 |a versio|n number|
|00005dc0| 20 74 6f 20 74 68 65 20 | 63 61 63 68 65 20 6d 61 | to the |cache ma|
|00005dd0| 63 72 6f 73 2e 0a 20 20 | 20 20 20 20 20 20 64 65 |cros.. | de|
|00005de0| 66 69 6e 65 28 5b 67 74 | 5f 61 70 69 5f 76 65 72 |fine([gt|_api_ver|
|00005df0| 73 69 6f 6e 5d 2c 20 69 | 66 65 6c 73 65 28 5b 24 |sion], i|felse([$|
|00005e00| 32 5d 2c 20 5b 6e 65 65 | 64 2d 6e 67 65 74 74 65 |2], [nee|d-ngette|
|00005e10| 78 74 5d 2c 20 32 2c 20 | 31 29 29 0a 20 20 20 20 |xt], 2, |1)). |
|00005e20| 20 20 20 20 64 65 66 69 | 6e 65 28 5b 67 74 5f 63 | defi|ne([gt_c|
|00005e30| 76 5f 66 75 6e 63 5f 67 | 6e 75 67 65 74 74 65 78 |v_func_g|nugettex|
|00005e40| 74 5f 6c 69 62 63 5d 2c | 20 5b 67 74 5f 63 76 5f |t_libc],| [gt_cv_|
|00005e50| 66 75 6e 63 5f 67 6e 75 | 67 65 74 74 65 78 74 5d |func_gnu|gettext]|
|00005e60| 67 74 5f 61 70 69 5f 76 | 65 72 73 69 6f 6e 5b 5f |gt_api_v|ersion[_|
|00005e70| 6c 69 62 63 5d 29 0a 20 | 20 20 20 20 20 20 20 64 |libc]). | d|
|00005e80| 65 66 69 6e 65 28 5b 67 | 74 5f 63 76 5f 66 75 6e |efine([g|t_cv_fun|
|00005e90| 63 5f 67 6e 75 67 65 74 | 74 65 78 74 5f 6c 69 62 |c_gnuget|text_lib|
|00005ea0| 69 6e 74 6c 5d 2c 20 5b | 67 74 5f 63 76 5f 66 75 |intl], [|gt_cv_fu|
|00005eb0| 6e 63 5f 67 6e 75 67 65 | 74 74 65 78 74 5d 67 74 |nc_gnuge|ttext]gt|
|00005ec0| 5f 61 70 69 5f 76 65 72 | 73 69 6f 6e 5b 5f 6c 69 |_api_ver|sion[_li|
|00005ed0| 62 69 6e 74 6c 5d 29 0a | 0a 20 20 20 20 20 20 20 |bintl]).|. |
|00005ee0| 20 41 43 5f 43 41 43 48 | 45 5f 43 48 45 43 4b 28 | AC_CACH|E_CHECK(|
|00005ef0| 5b 66 6f 72 20 47 4e 55 | 20 67 65 74 74 65 78 74 |[for GNU| gettext|
|00005f00| 20 69 6e 20 6c 69 62 63 | 5d 2c 20 67 74 5f 63 76 | in libc|], gt_cv|
|00005f10| 5f 66 75 6e 63 5f 67 6e | 75 67 65 74 74 65 78 74 |_func_gn|ugettext|
|00005f20| 5f 6c 69 62 63 2c 0a 20 | 20 20 20 20 20 20 20 20 |_libc,. | |
|00005f30| 5b 41 43 5f 54 52 59 5f | 4c 49 4e 4b 28 5b 23 69 |[AC_TRY_|LINK([#i|
|00005f40| 6e 63 6c 75 64 65 20 3c | 6c 69 62 69 6e 74 6c 2e |nclude <|libintl.|
|00005f50| 68 3e 0a 65 78 74 65 72 | 6e 20 69 6e 74 20 5f 6e |h>.exter|n int _n|
|00005f60| 6c 5f 6d 73 67 5f 63 61 | 74 5f 63 6e 74 72 3b 0a |l_msg_ca|t_cntr;.|
|00005f70| 65 78 74 65 72 6e 20 69 | 6e 74 20 2a 5f 6e 6c 5f |extern i|nt *_nl_|
|00005f80| 64 6f 6d 61 69 6e 5f 62 | 69 6e 64 69 6e 67 73 3b |domain_b|indings;|
|00005f90| 5d 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 5b |],. | [|
|00005fa0| 62 69 6e 64 74 65 78 74 | 64 6f 6d 61 69 6e 20 28 |bindtext|domain (|
|00005fb0| 22 22 2c 20 22 22 29 3b | 0a 72 65 74 75 72 6e 20 |"", "");|.return |
|00005fc0| 28 69 6e 74 29 20 67 65 | 74 74 65 78 74 20 28 22 |(int) ge|ttext ("|
|00005fd0| 22 29 5d 69 66 65 6c 73 | 65 28 5b 24 32 5d 2c 20 |")]ifels|e([$2], |
|00005fe0| 5b 6e 65 65 64 2d 6e 67 | 65 74 74 65 78 74 5d 2c |[need-ng|ettext],|
|00005ff0| 20 5b 20 2b 20 28 69 6e | 74 29 20 6e 67 65 74 74 | [ + (in|t) ngett|
|00006000| 65 78 74 20 28 22 22 2c | 20 22 22 2c 20 30 29 5d |ext ("",| "", 0)]|
|00006010| 2c 20 5b 5d 29 5b 20 2b | 20 5f 6e 6c 5f 6d 73 67 |, [])[ +| _nl_msg|
|00006020| 5f 63 61 74 5f 63 6e 74 | 72 20 2b 20 2a 5f 6e 6c |_cat_cnt|r + *_nl|
|00006030| 5f 64 6f 6d 61 69 6e 5f | 62 69 6e 64 69 6e 67 73 |_domain_|bindings|
|00006040| 5d 2c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 67 |],. | g|
|00006050| 74 5f 63 76 5f 66 75 6e | 63 5f 67 6e 75 67 65 74 |t_cv_fun|c_gnuget|
|00006060| 74 65 78 74 5f 6c 69 62 | 63 3d 79 65 73 2c 0a 20 |text_lib|c=yes,. |
|00006070| 20 20 20 20 20 20 20 20 | 20 20 20 67 74 5f 63 76 | | gt_cv|
|00006080| 5f 66 75 6e 63 5f 67 6e | 75 67 65 74 74 65 78 74 |_func_gn|ugettext|
|00006090| 5f 6c 69 62 63 3d 6e 6f | 29 5d 29 0a 0a 20 20 20 |_libc=no|)]).. |
|000060a0| 20 20 20 20 20 69 66 20 | 74 65 73 74 20 22 24 67 | if |test "$g|
|000060b0| 74 5f 63 76 5f 66 75 6e | 63 5f 67 6e 75 67 65 74 |t_cv_fun|c_gnuget|
|000060c0| 74 65 78 74 5f 6c 69 62 | 63 22 20 21 3d 20 22 79 |text_lib|c" != "y|
|000060d0| 65 73 22 3b 20 74 68 65 | 6e 0a 20 20 20 20 20 20 |es"; the|n. |
|000060e0| 20 20 20 20 64 6e 6c 20 | 53 6f 6d 65 74 69 6d 65 | dnl |Sometime|
|000060f0| 73 20 6c 69 62 69 6e 74 | 6c 20 72 65 71 75 69 72 |s libint|l requir|
|00006100| 65 73 20 6c 69 62 69 63 | 6f 6e 76 2c 20 73 6f 20 |es libic|onv, so |
|00006110| 66 69 72 73 74 20 73 65 | 61 72 63 68 20 66 6f 72 |first se|arch for|
|00006120| 20 6c 69 62 69 63 6f 6e | 76 2e 0a 20 20 20 20 20 | libicon|v.. |
|00006130| 20 20 20 20 20 69 66 65 | 6c 73 65 28 67 74 5f 69 | ife|lse(gt_i|
|00006140| 6e 63 6c 75 64 65 64 5f | 69 6e 74 6c 2c 20 79 65 |ncluded_|intl, ye|
|00006150| 73 2c 20 2c 20 5b 0a 20 | 20 20 20 20 20 20 20 20 |s, , [. | |
|00006160| 20 20 20 41 4d 5f 49 43 | 4f 4e 56 5f 4c 49 4e 4b | AM_IC|ONV_LINK|
|00006170| 0a 20 20 20 20 20 20 20 | 20 20 20 5d 29 0a 20 20 |. | ]). |
|00006180| 20 20 20 20 20 20 20 20 | 64 6e 6c 20 53 65 61 72 | |dnl Sear|
|00006190| 63 68 20 66 6f 72 20 6c | 69 62 69 6e 74 6c 20 61 |ch for l|ibintl a|
|000061a0| 6e 64 20 64 65 66 69 6e | 65 20 4c 49 42 49 4e 54 |nd defin|e LIBINT|
|000061b0| 4c 2c 20 4c 54 4c 49 42 | 49 4e 54 4c 20 61 6e 64 |L, LTLIB|INTL and|
|000061c0| 20 49 4e 43 49 4e 54 4c | 0a 20 20 20 20 20 20 20 | INCINTL|. |
|000061d0| 20 20 20 64 6e 6c 20 61 | 63 63 6f 72 64 69 6e 67 | dnl a|ccording|
|000061e0| 6c 79 2e 20 44 6f 6e 27 | 74 20 75 73 65 20 41 43 |ly. Don'|t use AC|
|000061f0| 5f 4c 49 42 5f 4c 49 4e | 4b 46 4c 41 47 53 5f 42 |_LIB_LIN|KFLAGS_B|
|00006200| 4f 44 59 28 5b 69 6e 74 | 6c 5d 2c 5b 69 63 6f 6e |ODY([int|l],[icon|
|00006210| 76 5d 29 0a 20 20 20 20 | 20 20 20 20 20 20 64 6e |v]). | dn|
|00006220| 6c 20 62 65 63 61 75 73 | 65 20 74 68 61 74 20 77 |l becaus|e that w|
|00006230| 6f 75 6c 64 20 61 64 64 | 20 22 2d 6c 69 63 6f 6e |ould add| "-licon|
|00006240| 76 22 20 74 6f 20 4c 49 | 42 49 4e 54 4c 20 61 6e |v" to LI|BINTL an|
|00006250| 64 20 4c 54 4c 49 42 49 | 4e 54 4c 0a 20 20 20 20 |d LTLIBI|NTL. |
|00006260| 20 20 20 20 20 20 64 6e | 6c 20 65 76 65 6e 20 69 | dn|l even i|
|00006270| 66 20 6c 69 62 69 63 6f | 6e 76 20 64 6f 65 73 6e |f libico|nv doesn|
|00006280| 27 74 20 65 78 69 73 74 | 2e 0a 20 20 20 20 20 20 |'t exist|.. |
|00006290| 20 20 20 20 41 43 5f 4c | 49 42 5f 4c 49 4e 4b 46 | AC_L|IB_LINKF|
|000062a0| 4c 41 47 53 5f 42 4f 44 | 59 28 5b 69 6e 74 6c 5d |LAGS_BOD|Y([intl]|
|000062b0| 29 0a 20 20 20 20 20 20 | 20 20 20 20 41 43 5f 43 |). | AC_C|
|000062c0| 41 43 48 45 5f 43 48 45 | 43 4b 28 5b 66 6f 72 20 |ACHE_CHE|CK([for |
|000062d0| 47 4e 55 20 67 65 74 74 | 65 78 74 20 69 6e 20 6c |GNU gett|ext in l|
|000062e0| 69 62 69 6e 74 6c 5d 2c | 0a 20 20 20 20 20 20 20 |ibintl],|. |
|000062f0| 20 20 20 20 20 67 74 5f | 63 76 5f 66 75 6e 63 5f | gt_|cv_func_|
|00006300| 67 6e 75 67 65 74 74 65 | 78 74 5f 6c 69 62 69 6e |gnugette|xt_libin|
|00006310| 74 6c 2c 0a 20 20 20 20 | 20 20 20 20 20 20 20 5b |tl,. | [|
|00006320| 67 74 5f 73 61 76 65 5f | 43 50 50 46 4c 41 47 53 |gt_save_|CPPFLAGS|
|00006330| 3d 22 24 43 50 50 46 4c | 41 47 53 22 0a 20 20 20 |="$CPPFL|AGS". |
|00006340| 20 20 20 20 20 20 20 20 | 20 43 50 50 46 4c 41 47 | | CPPFLAG|
|00006350| 53 3d 22 24 43 50 50 46 | 4c 41 47 53 20 24 49 4e |S="$CPPF|LAGS $IN|
|00006360| 43 49 4e 54 4c 22 0a 20 | 20 20 20 20 20 20 20 20 |CINTL". | |
|00006370| 20 20 20 67 74 5f 73 61 | 76 65 5f 4c 49 42 53 3d | gt_sa|ve_LIBS=|
|00006380| 22 24 4c 49 42 53 22 0a | 20 20 20 20 20 20 20 20 |"$LIBS".| |
|00006390| 20 20 20 20 4c 49 42 53 | 3d 22 24 4c 49 42 53 20 | LIBS|="$LIBS |
|000063a0| 24 4c 49 42 49 4e 54 4c | 22 0a 20 20 20 20 20 20 |$LIBINTL|". |
|000063b0| 20 20 20 20 20 20 64 6e | 6c 20 4e 6f 77 20 73 65 | dn|l Now se|
|000063c0| 65 20 77 68 65 74 68 65 | 72 20 6c 69 62 69 6e 74 |e whethe|r libint|
|000063d0| 6c 20 65 78 69 73 74 73 | 20 61 6e 64 20 64 6f 65 |l exists| and doe|
|000063e0| 73 20 6e 6f 74 20 64 65 | 70 65 6e 64 20 6f 6e 20 |s not de|pend on |
|000063f0| 6c 69 62 69 63 6f 6e 76 | 2e 0a 20 20 20 20 20 20 |libiconv|.. |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.